!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/director/   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:     menuEdu.php (6.26 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

include("./include/FunctionDB.php");
include(
"admin_menu.php");
include(
"./include/Function.php");
ConnectDB();

?> 

<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">

<style type="text/css">
<!--
.style12 {font-size: 14px}
.style1 {    font-family: AngsanaUPC;
    font-size: 30px;
}
.style29 {font-family: Tahoma}
.style30 {font-family: Tahoma; font-size: 24px;}
-->
</style>
<table width="783" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="641" ><br> 
          <fieldset>
            <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="index.php">หน้าหลัก</a> <img src="./picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="TrainingByYear.php">ข้อมูลการพัฒนาบุคลากร</a> <img src="./picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"> ข้อมูลฝ่ายวิชาการ</font></legend>
            <label>
  <form id="form1" name="form1" method="post" action="">
    <table width="75%" border="0" align="center" cellpadding="0" cellspacing="9" bgcolor="eeeeee">
      <tr >
        <td width="10%"><div align="center"><font size="4" face="Tahoma"><img src="Image/button.gif" width="10" height="10" /></font></div></td>
        <td width="90%" class="style1"><font color="#003366" class="style12"><a href="Menu_Course.php">หลักสูตร</a></font></td>
      </tr>
      <tr>
        <td><div align="center"><font size="4" face="Tahoma"><img src="Image/button.gif" width="10" height="10" /></font></div></td>
        <td class="style12"><span class="style29"><font color="#003366"><a href="Menu_Faculty.php" class="style12">กลุ่มงาน / ฝ่าย</a></font><font color="#003366"></font></span></td>
      </tr>
      <tr>
        <td height="23">&nbsp;</td>
        <td class="style1"><table width="100%" border="0" cellpadding="0" cellspacing="1" bordercolor="#B6B6B6" bgcolor="#FFFFFF">
              <tr>
                <td width="9%" bgcolor="eeeeee"><div align="center">
                  <div align="center"><font size="4" face="Tahoma"><img src="Image/button.gif" width="10" height="10" /></font></div>
                </div></td>
                <td width="71%" bgcolor="eeeeee"><div align="left"><span class="style12"><font face="Tahoma"><a href="SubCateList.php">หมวดวิชา</a></font></span> </div></td>
                <td width="20%" bgcolor="eeeeee"><font color="#000000" size="2" face="Tahoma">
                  <?php
      $sql1 
"Select  * From subject_category_tb";
      
$result1 mysql_query($sql1) or die("Error".mysql_error());
      
$num1 mysql_num_rows($result1);
      echo 
" ( $num1 )";

    
?>
                </font></td>
              </tr>
              <tr>
                <td bgcolor="eeeeee"><div align="center"><font size="4" face="Tahoma"><img src="Image/button.gif" width="10" height="10" /></font></div></td>
                <td bgcolor="eeeeee"><div align="left"><font face="Tahoma"><span class="style12"><a href="Sub_groupList.php" class="style12">กลุ่มวิชา</a></span> </font></div></td>
                <td bgcolor="eeeeee"><font size="2" face="Tahoma"><font color="#000000">
                  <?php
      $sql2 
"Select  * From subject_group_tb";
      
$result2 mysql_query($sql2) or die("Error".mysql_error());
      
$num2mysql_num_rows($result2);
      echo 
" ( $num2 )";
    
?>
                </font></font></td>
              </tr>
              <tr>
                <td bgcolor="eeeeee"><div align="center">
                  <div align="center"><font size="4" face="Tahoma"><img src="Image/button.gif" width="10" height="10" /></font></div>
                </div></td>
                <td bgcolor="eeeeee"><div align="left" class="style12"><font face="Tahoma"><a href="SubjectList.php" class="style12">รายวิชา</a></font> </div></td>
                <td bgcolor="eeeeee"><font size="2" face="Tahoma"><font color="#000000">
                  <?php
      $sql3 
"Select  * From subject_tb";
      
$result3 mysql_query($sql3) or die("Error".mysql_error());
      
$num3mysql_num_rows($result3);
      echo 
" ( $num3 )";
    
?>
                </font></font></td>
              </tr>
              <tr>
                <td height="24" bgcolor="eeeeee"><div align="center"><font size="4" face="Tahoma"><img src="Image/button.gif" width="10" height="10" /></font></div></td>
                <td bgcolor="eeeeee"><div align="left" class="style12"><font face="Tahoma"><a href="PlanListSubject.php" class="style12">แผนการสอนรายวิชา</a> </font></div></td>
                <td bgcolor="eeeeee"><font size="2" face="Tahoma"><font color="#000000">
                  <?php
      $sql4 
"Select  * From tech_plan_tb";
      
$result4 mysql_query($sql4) or die("Error".mysql_error());
      
$num4mysql_num_rows($result4);
      echo 
" ( $num4 )";
    
?>
                </font></font></td>
              </tr>
          </table></td>
      </tr>
      <tr>
        <td><div align="center"><font size="4" face="Tahoma"><img src="Image/button.gif" width="10" height="10" /></font></div></td>
        <td class="style29"><font color="#003366"><a href="AllTeacherList.php" class="style12">ข้อมูลอาจารย์</a></font> </td>
      </tr>
      <tr>
        <td><div align="center"><font size="4" face="Tahoma"><img src="Image/button.gif" width="10" height="10" /></font></div></td>
        <td class="style29"><font color="#003366"><a href="StudentList.php" class="style12">ข้อมูลนักศึกษา</a></font></td>
      </tr>
      <tr>
        <td><div align="center"><font size="4" face="Tahoma"><img src="Image/button.gif" width="10" height="10" /></font></div></td>
        <td class="style30"><font color="#003366"><a href="StudentByYear.php" class="style12">ข้อมูลนักศึกษาจำแนกตามปีการศึกษา</a></font></td>
      </tr>
      <tr>
        <td><div align="center"><font size="4" face="Tahoma"><img src="Image/button.gif" width="10" height="10" /></font></div></td>
        <td class="style30"><font color="#003366"><a href="ProvinceStudent.php?Succ_Status=1" class="style12">ข้อมูลนักศึกษาจำแนกตามจังหวัด</a></font></td>
      </tr>
      <tr>
        <td><div align="center"><font size="4" face="Tahoma"><img src="Image/button.gif" width="10" height="10" /></font></div></td>
        <td class="style30"><font color="#003366"><a href="ProjectList.php" class="style12">โครงการ/กิจกรรมวิชาการ</a></font></td>
      </tr>
    </table>
    </form>
          </fieldset>
        <br>
        <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><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.0166 ]--