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/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : G:/PleskVhosts/polyprep.in/mmitshamli.ac.in/admin//nontech.php
<?php
$name=$_POST['name'];
//echo $name;
$fname=$_POST['fname'];
$gender=$_POST['gender'];
$mobile=$_POST['mobile'];
$desig=$_POST['designation'];
$quali=$_POST['quali'];
$address=$_POST['address'];
$file=$_FILES['file']['name'];
//echo $file;
$tmp_name=$_FILES['file']['tmp_name'];
//echo $tmp_name;
if($type=='image/jpeg' or $type=='image/png' or $type='image/jpg')
{
$location="staff/";
include("connection.php");
$query="insert into tbl_nonteacher(name,fname,gender,mobile,designation,qualification,address,pic,dor) values('$name','$fname','$gender','$mobile','$desig','$quali','$address','$file',now())";
//echo $query;
mysqli_query($dbCon,$query);
move_uploaded_file($tmp_name,$location.$file);
header("Location:viewnonteacher.php");
}
else
{
	echo "<script>
	window.alert('Pls select correct file type');
	window.location.href='addnonteacher.php'
	</script>";
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit