403Webshell
Server IP : 172.64.80.1  /  Your IP : 172.70.131.125
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_backup/admin_main/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/httpdocs_backup/admin_main/changeDetails_process.php
<?php
//ob_flush();
extract($_POST);
require_once('../connect.php');
$db = db_connect();
$result_error=$db->query("select * from stddata where  formNo='$formNo'");
$num_error = $result_error->rowCount();
if ($num_error==0) {
    $result = $db->query("select * from entrancetable where transID='$formNo' or formNo='$formNo'");
    $num = $result->rowCount();
    if ($num > 0) {
       // echo $num;
        // $gsm=md5($gsm);

        $db->query("UPDATE `fedpoly`.`entrancetable` SET `course` = '$dept', `dept` = '$dept'  WHERE `entrancetable`.`transID` ='$formNo' or formNo='$formNo' ");
        header('location:' . 'accountInfo.php?id=2');
    } else {
        echo "Error Occur";
    }
}else{
    header('location:' . 'accountInfo.php?id=3');
}
//ob_end_flush();
?>

Youez - 2016 - github.com/yon3zu
LinuXploit