!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/Information/   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:     Menu.php (3.9 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
 session_start
();
 if (
session_is_registered("valid_user")&&session_is_registered("password"))
 {
 
$Username $valid_user;
 
$Password $password;
include(
"../include/FunctionDB.php");
ConnectDB();
$sql "Select * From user_tb Where Username='$Username'";
$result mysql_query($sql) or die(" Error".mysql_error());
$rs1 mysql_fetch_array($result);
$Username $rs1[Username];
$sql1 "Select * From personal_tb Where Username='$Username'";
$result1 mysql_query($sql1) or die(" Error".mysql_error());
$rs mysql_fetch_array($result1);
?>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<style type="text/css">
<!--
-->
</style>
<link href="../css/style1.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style2 {
    color: #990099;
    font-size: 18;
    font-family: Tahoma;
    font-weight: bold;
}
.style3 {color: #0000FF}
.style7 {color: #FF3366; font-size: 18px; font-family: Tahoma; font-weight: bold; }
-->
</style>
</head>

<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><div align="center" class="style2"><a href="../manage_depart/Information/InfomationMenu.php" class="style3">ประชาสัมพันธ</a><a href="../menu_manage.php">์ </a></div></td>
  </tr>
  <tr>
    <td><table width="100%" height="180" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td> <table width="82%" border="0" align="center" cellpadding="0" cellspacing="1">
              <form action="Update.php" method="post">
                <tr bgcolor="#AFD2F5"> 
                  <td colspan="3"> <div align="center"><font size="4" face="Tahoma"><strong>เพิ่ม 
                      ระดับการใช้งาน </strong></font></div></td>
                </tr>
                <tr bgcolor="#EEEEEE"> 
                  <td width="26%" height="24"> <div align="center"><font size="2" face="Tahoma">Permision</font></div></td>
                  <td width="2%">&nbsp;</td>
                  <td width="72%"><input name="Permision" type="text" id="Permision"> 
                    <span class="style7"><a href="../manage_depart/Support/menu_support.php">พัสดุ</a></span></td>
                </tr>
                <tr bgcolor="#EEEEEE"> 
                  <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">Url</font></div></td>
                  <td>&nbsp;</td>
                  <td bgcolor="#EEEEEE"><font color="#003366" size="2" face="Tahoma">
                    <input name="Url" type="text" id="Url">
                    </font></td>
                </tr>
                <tr bgcolor="#EEEEEE"> 
                  <td><div align="center"><font size="2" face="Tahoma">Description</font></div></td>
                  <td>&nbsp;</td>
                  <td><input name="Description" type="text" id="Description"></td>
                </tr>
                <tr bgcolor="#AFD2F5"> 
                  <td colspan="3"> <div align="center"> 
                      <input type="submit" name="Submit3" value="    เพิ่ม   ">
                      &nbsp; 
                      <input type="reset" name="Submit" value="   เริ่มใหม่   ">
                    </div></td>
                </tr>
              </form>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>
<?php 
    
}
else
{
    echo
"<body bgcolor=\"#CCCCCC\">";
     echo
"<meta http-equiv=\"refresh\" content=\"3;URL=../logout.php\" target=\"mainFrame\">\n";
     echo
"<center>";
      echo
"<br><br><br><b><font face=\"Tahoma\" size=\"4\" color=\"#FF0000\">Please Login</font> </b><br>";
      echo
"<br><br><font face=\"Tahoma\" size=\"10\" color=\"#000000\"> ERROR 404 PERMISION DENY</font><br>";
      echo
"<br><font face=\"Tahoma\" size=\"4\" color=\"#000000\"> คุณไม่มีสิทธ์ใช้งาน</font>";
      echo
"</center>";
      echo
"</body>";

?>

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