!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\js_composer\include\classes\settings\   drwxrwxrwx
Free 1.02 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:     class-vc-license.php (3.64 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * WPBakery Visual Composer Plugin
 *
 * @package VPBakeryVisualComposer
 *
 */
/**
 * Manage Envato license for VC to activate/deactivate Envato product license with VC license service.
 */
class Vc_License {
    public function 
addAjaxHooks() {
        
add_action'wp_ajax_wpb_activate_license', array( &$this'activate' ) );
        
add_action'wp_ajax_wpb_deactivate_license', array( &$this'deactivate' ) );
    }

    public static function 
getWpbControlUrl$array ) {
        
$array1 = array(
            
'h''tt''p',
            
':''//',
            
's''upp''ort.''w''pba''ker''y.c',
            
'om''/''/a''j''ax''/s''ite''/',
        );
        return 
implode''array_merge$array1$array ) );
    }

    public function 
setDeactivation$dkey ) {
        
update_option'vc_license_activation_key'$dkey );
    }

    public function 
deactivation() {
        return 
get_option'vc_license_activation_key' );
    }
    public function 
isActivated() {
        
$deactivation $this->deactivation();
        return 
is_string($deactivation) && strlen($deactivation) > 0;
    }
    public function 
activate() {
        
$params = array();
        
$params['username'] = vc_post_param'username' );
        
$params['key'] = vc_post_param'key' );
        
$params['api_key'] = vc_post_param'api_key' );
        
$params['url'] = get_site_url();
        
$params['ip'] = isset( $_SERVER['SERVER_ADDR'] ) ? $_SERVER['SERVER_ADDR'] : '';
        
$params['dkey'] = substrstr_shuffle"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" ), 020 );
        
$string 'activatelicense?';
        
$request_url self::getWpbControlUrl( array( $stringhttp_build_query$params'''&' ) ) );
        
$response wp_remote_get$request_url, array( 'timeout' => 300 ) );
        if ( 
is_wp_error$response ) ) {
            echo 
json_encode( array( 'result' => false ) );
            die();
        }
        
$result json_decode$response['body'] );
        if ( ! 
is_object$result ) ) {
            echo 
json_encode( array( 'result' => false ) );
            die();
        }
        if ( (boolean)
$result->result === true || ( (int)$result->code === 401 && isset( $result->deactivation_key ) ) ) {
            
$this->setDeactivation( isset( $result->code ) && (int)$result->code === 401 $result->deactivation_key $params['dkey'] );
            
vc_settings()->set'envato_username'$params['username'] );
            
vc_settings()->set'envato_api_key'$params['api_key'] );
            
vc_settings()->set'js_composer_purchase_code'$params['key'] );
            echo 
json_encode( array( 'result' => true ) );
            die();
        }
        echo 
$response['body'];
        die();
    }

    public function 
deactivate() {
        
$params = array();
        
$params['dkey'] = $this->deactivation();
        
$string 'deactivatelicense?';
        
$request_url self::getWpbControlUrl( array( $stringhttp_build_query$params'''&' ) ) );
        
$response wp_remote_get$request_url, array( 'timeout' => 300 ) );
        if ( 
is_wp_error$response ) ) {
            echo 
json_encode( array( 'result' => false ) );
            die();
        }
        
$result json_decode$response['body'] );
        if ( (boolean)
$result->result ) {
            
$this->setDeactivation'' );
        }
        echo 
$response['body'];
        die();
    }

    public function 
setupReminder() {
        
$deactivation_key $this->deactivation();
        if ( empty( 
$deactivation_key ) && empty( $_COOKIE['vchideactivationmsg'] ) && ! vc_is_network_plugin() && ! vc_is_as_theme() ) {
            
add_action'admin_notices', array( &$this'adminNoticeLicenseActivation' ) );
        }
    }

    public function 
adminNoticeLicenseActivation() {
        
update_option'wpb_js_composer_license_activation_notified''yes' );
        echo 
'<div class="updated vc_license-activation-notice"><p>' sprintf__'Hola! Please <a href="%s">activate your copy</a> of Visual Composer to receive automatic updates.''js_composer' ), wp_nonce_urladmin_url'options-general.php?page=vc_settings&tab=updater' ) ) ) . '</p></div>';
    }
}

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