!C99Shell v. 1.0 pre-release build #13!

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

E:\xampp\xampp\htdocs\phpold\AjaxPhpCode\Chapter03\ajax\foundations\mysql\   drwxrwxrwx
Free 7.95 GB of 239.26 GB (3.32%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     mysql.class.php (1.17 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
// load configuration file
require_once('config.php');
// class packages functionality for the MySql application
class MySql
{
  
// database handler
  
private $mMysqli;  
      
  
// class constructor
  
function __construct() 
  {   
    
// connect to the database
    
$this->mMysqli = new mysqli(DB_HOSTDB_USERDB_PASSWORDDB_DATABASE);   
  }
  
  
// retrieve the user names from the database
  
function getNames()
  {
    
// what SQL query you want executed?
    
$query 'SELECT user_id, user_name FROM users'
    
// execute the query
    
$result $this->mMysqli->query($query);  
    
// loop through the results
    
while ($row $result->fetch_array(MYSQLI_ASSOC)) 
    {
      
// extract user id and name
      
$user_id $row['user_id'];
      
$user_name $row['user_name'];
      
// do something with the data (here we output it)
      
echo 'Name of user #' $user_id ' is ' $user_name '<br/>';
    }
    
// close the input stream
    
$result->close();
  }
  
  
// class destructor, closes database connection  
  
public function __destruct() 
  {
    
// close the database connection
    
$this->mMysqli->close();
  }
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]--