!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:\Users\DMZ\Desktop\cumbreclima0909\wp-content\plugins\w3-total-cache\lib\W3\Enterprise\   drwxrwxrwx
Free 4.09 GB of 39.52 GB (10.35%)
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:     SnsBase.php (2 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

w3_require_once
(W3TC_INC_DIR '/functions/file.php');

/**
 * Purge using AmazonSNS object
 */

/**
 * Class W3_Sns
 */
class W3_Enterprise_SnsBase {
    
/**
     * PHP5-style constructor
     */
    
function __construct() {
        
$this->_config w3_instance('W3_Config');

        
$this->_region $this->_config->get_string('cluster.messagebus.sns.region');
        
$this->_topic_arn $this->_config->get_string('cluster.messagebus.sns.topic_arn');
        
$this->_api_key $this->_config->get_string('cluster.messagebus.sns.api_key');
        
$this->_api_secret $this->_config->get_string('cluster.messagebus.sns.api_secret');

        
$this->_debug $this->_config->get_boolean('cluster.messagebus.debug');
        
$this->_api null;
    }

    
/**
     * Returns API object
     *
     * @throws Exception
     * @return AmazonSNS
     */
    
protected function _get_api() {
        if (
is_null($this->_api)) {
            if (
$this->_api_key == '')
                throw new 
Exception('API Key is not configured');
            if (
$this->_api_secret == '')
                throw new 
Exception('API Secret is not configured');

            
w3_require_once(W3TC_LIB_DIR '/SNS/sdk.class.php');
            
$this->_api = new AmazonSNS($this->_api_key$this->_api_secret);
            if (
$this->_region != '') {
                
$this->_api->set_region($this->_region);
            }
        }

        return 
$this->_api;
    }
    
    
/**
     * Write log entry
     *
     * @param string $message
     * @param array $backtrace
     * @return bool|int
     */
    
protected function _log($message$backtrace null) {
        if (!
$this->_debug)
            return 
true;

        
$data sprintf("[%s] %s\n"date('r'), $message);
        if (
$backtrace) {
            
$debug print_r($backtracetrue);
            
$data .= $debug "\n";
        }
        
$data strtr($data'<>''..');
        
        
$filename w3_debug_log('sns');

        return @
file_put_contents($filename$dataFILE_APPEND);
    }
}

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