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

class 
Agp_SingleSelectRepository extends Agp_RepositoryAbstract {

    
/**
     * Object Name
     * 
     * @var string
     */
    
private $name;

    
/**
     * Session Object
     * 
     * @var Agp_Session
     */
    
private $session;
    
    public function 
__construct($data NULL) {
        
$this->name strtolower(get_class($this));                
        
$this->session Agp_Session::instance(); 

        
parent::__construct($data);
    }
    
    public function 
init () {
        
$activeEntity $this->getActive();                
        if (empty(
$activeEntity)) {
            
$this->setActive($this->getFirst());
        }                    
    }    
    
    public function 
setActive (Agp_EntityAbstract $entity) {
        if (!empty(
$entity)) {
            
$activeEntity $this->getActive();        
            if (empty(
$activeEntity) || $activeEntity->getId() != $entity->getId()) {
                
$this->resetActive();
                
$this->getSession()->set($this->name$entity->getId());                    
                
$this->init();                
            }                
        }
    }
    
    public function 
getActive () {
        
$id $this->getSession()->get($this->name);
        if (!empty(
$id)) {
            return 
$this->findById($id);
        }            
    }
    
    public function 
resetActive () {
        
$activeEntity $this->getActive();        
        if (!empty(
$activeEntity)) {        
            
$this->getSession()->reset($this->name);                
        }            
    }   
    
    
/**
     * Getters and Setters
     */ 
    
    
public function getName() {
        return 
$this->name;
    }

    public function 
getSession() {
        return 
$this->session;
    }

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

    public function 
setSession(Agp_Session $session) {
        
$this->session $session;
        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.1248 ]--