HEX
Server: Apache/2
System: Linux sv1.freethailand.com 2.6.18-410.el5 #1 SMP Wed May 11 06:00:14 EDT 2016 x86_64
User: apache (101)
PHP: 5.3.29
Disabled: symlink,shell_exec,exec,proc_close,proc_open,popen,system,dl,passthru,escapeshellarg,escapeshellcmd,pcntl_exec,proc_get_status,proc_nice,proc_terminate,pclose,ini_alter,virtual,openlog,ini_restore
Upload Files
File: /home/pengthai/domains/pengthaicurry.com/public_html/admin/include/admin_check.php
<?
	@session_start();

	include_once("wb_config.php");
	echo"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />";

	$user=$_POST[username];
	$pass=$_POST[password];
	
	if($user==$userlogin_name and $pass == $passlogin_name)
	{
		
		$_SESSION[sess_user] = $user;
		$_SESSION[sess_pass] = $pass;
		$_SESSION[sess_userid] = session_id();
		$_SESSION[sess_idmem] = 1;

		echo "<meta http-equiv=\"refresh\" content=\"0;URL=../dashboard.php\" />";	
		
	}else{
		
		echo "<script language='javascript'>alert('Username หรือ Password ไม่ถูกต้องค่ะ');</script>";
		$server = "http://" . $_SERVER['HTTP_HOST'];
		echo "<meta http-equiv=\"refresh\" content=\"0;URL=../index.php\" />";
		exit();
	}
?>