!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)

C:\cumbreclima\wp-content\plugins\wcp-contact-form\agp-core\classes\database\   drwxrwxrwx
Free 4.13 GB of 39.52 GB (10.45%)
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:     Agp_MySqlDb.class.php (1.45 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
namespace Webcodin\WCPContactForm\Core;

class 
Agp_MySqlDb extends Agp_DbAbstract {
    
    private 
$db;

    private 
$host;
    
    private 
$database;
    
    private 
$user;
    
    private 
$password;

    public function 
__construct($host$database$user$password) {
        
$this->host=$host;
        
$this->database=$database;
        
$this->user=$user;
        
$this->password=$password;
    }   
    
    public function 
connect() {
        
$this->db = new \mysqli($this->host$this->user$this->password$this->database);        
        return 
$this->db->connect_errno;
    }    
    
    public function 
disconnect() {
        if (isset(
$this->db)) {
            @
$this->db->close();
            
$this->db NULL;
        }
    }    

    public function 
query($sql) {
        
$queryResult $this->db->query($sql);
        
        
$result = array();                            
        if (
$queryResult) {
            while(
$row $queryResult->fetch_assoc()) {
                
$result[] = $row;
            }                
            
$queryResult->close();
        }

        return 
$result;
    }
    
    public function 
getDb() {
        return 
$this->db;
    }

    public function 
getHost() {
        return 
$this->host;
    }

    public function 
getDatabase() {
        return 
$this->database;
    }

    public function 
getUser() {
        return 
$this->user;
    }

    public function 
getPassword() {
        return 
$this->password;
    }
}

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