403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/reportservice - Copy/3/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/reportservice - Copy/3/loginold.php
<? 
session_start();
?>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<?
include("dbconfig.php");
//var_dump($id,$pwd);exit;

$pwd = md5($pwd);
//$pwd = $_POST['pwd']
//$id = $_POST['id']
mysql_select_db($__dbwp__);
mysql_query(" SET NAMES 'tis620'; ");	   
	$sql = "select  name,auth,class as iclass  from user where id = '$id' and pwd = '$pwd' ";
	$result = mysql_query($sql );
	$num = mysql_num_rows($result) ;

	while ($objectl = mysql_fetch_object($result))
		{
		 $name = $objectl->name;
		 $iclass = $objectl->iclass;
		 $right = $objectl->auth;
		}
	echo num;
	if ($num < 1)
	{ 
	
		echo "<script language='JavaScript'>";
		echo "alert('ÃËÑʼèÒ¹äÁè¶Ù¡µéͧ $id' );";
		echo "history.back(1);";
		echo "</script>";
	}
	else
	{
		/*
		session_start("iclass");
		session_start("auth");
		session_start("right");
		session_register("right");
		session_register("auth");
		session_register("iclass");
		session_start("a_name");
		session_register("a_name");
		*/
		
		$_SESSION['a_name'] = $a_name;
		$_SESSION['iclass'] = $iclass;
		$_SESSION['auth'] = $auth;
		$_SESSION['right'] = $right;
		
		
		$auth = $id ;
		$a_name = $name ;
		$right = $right ;		 
	}
	

	
		if ($index == "rq_chk3.php"){
		echo "<script language='JavaScript'>";
		echo "location= 'rq_chk3.php';";
		echo "</script>";
		}
		if ($index == "rq_chk.php"){
		echo "<script language='JavaScript'>";
		echo "location= 'rq_chk.php';";
		echo "</script>";
		}
		if ($index == "rq_chk1.php"){
		echo "<script language='JavaScript'>";
		echo "location= 'rq_chk1.php';";
		echo "</script>";
		}
		if ($index == "edit_driver.php"){
		echo "<script language='JavaScript'>";
		echo "location= 'index.php';";
		echo "</script>";
		}
		if ($index == "pm_car_record.php"){
		echo "<script language='JavaScript'>";
		echo "location= 'pm_car_record.php';";
		echo "</script>";
		}
?> 

Youez - 2016 - github.com/yon3zu
LinuXploit