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

include("../include/FunctionDB.php");
ConnectDB();
$sql "Select * From   projstrategy_tb   Where StrateId='$StrateId'";
$result mysql_query($sql) or die(" Error").mysql_error();
$rss mysql_fetch_array($result);
/////////////////////////////////
$sql2 "Select * From projstrategy_tb  WHERE  StrateId='$StrateId' ";
$result2mysql_query($sql2) or die(" Error").mysql_error();
$rs mysql_fetch_array($result2);
?>
<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>

<table width="617" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td width="617" height="255">
          <fieldset>
           <form id="myForm" name="myForm" method="post" action="EditStrategyplan.php" onSubmit="return checkData();">
              <table width="94%" border="0" align="center" cellpadding="0" cellspacing="0" style="background-color:#eeeeee; border:0px solid gray; font-size: 14px;"size="12">
                <tr bgcolor="#F3F3F3">
                  <td height="23" align="right" bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                  <td bordercolor="#FFFFCC" bgcolor="#FFFFFF">&nbsp;</td>
                </tr>
                <tr bgcolor="#F3F3F3">
                  <td width="22%" height="23" align="right" bordercolor="#CCCCCC" bgcolor="#FFFFFF">ลำดับที่&nbsp;&nbsp; </td>
                  <td width="78%" bordercolor="#FFFFCC" bgcolor="#FFFFFF"><font size="2" face="Tahoma">
                    <input name="Nocode" type="text" class="style4" id="Nocode" value="<? echo $rss[Nocode]?>" size="2" maxlength="5" />
                    &nbsp;&nbsp; <a> ปีงบประมาณ &nbsp;</a>
                  <input name="Budget_Year" type="text" id="Budget_Year" style="text-align:center" value="<? echo $rs['Budget_Year']?>" size="4" maxlength="4" />
                    </font></td>
                </tr>
                <tr bgcolor="#F3F3F3">
                  <td height="17" align="right" bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                  <td bordercolor="#FFFFCC" bgcolor="#FFFFFF">&nbsp;</td>
                </tr>
                <tr bgcolor="#F3F3F3">
                  <td colspan="2" bordercolor="#CCCCCC" bgcolor="#FFFFFF">ชื่อแผนงานยุทธ์ศาสตร์</td>
                </tr>
                <tr bgcolor="#F3F3F3">
                  <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                  <td bordercolor="#FFFFCC" bgcolor="#FFFFFF"><textarea name="Strategyname" cols="60" rows="3" class="input" id="Strategyname" ><? echo $rs['Strategyname']?></textarea></td>
                </tr>
                <tr bgcolor="#F3F3F3">
                  <td bordercolor="#CCCCCC" 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>
                </tr>
                <tr bgcolor="#F3D6F2">
                  <td colspan="2" bgcolor="#FFFFFF"><div align="center">
                    <input name="StrateId" type="hidden" id="StrateId" value="<?=$rs['StrateId'];?>" />
                    <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></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.0168 ]--