1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Nulled envato Script

Discussion in 'Black Hat SEO' started by ased2235, Aug 6, 2017.

  1. ased2235

    ased2235 Newbie

    Joined:
    Feb 23, 2017
    Messages:
    15
    Likes Received:
    1
    Hi can anyone Nulled This for me please
    PHP:
    <?php

    namespace App\Model\Table;

    use 
    Cake\ORM\Table;
    use 
    Cake\ORM\TableRegistry;
    use 
    Cake\Cache\Cache;

    class 
    ActivationTable extends Table
    {
        public function 
    initialize(array $config)
        {
            
    $this->_table false;
        }

        public function 
    checkLicense()
        {
            
    $Options TableRegistry::get('Options');

            
    $personal_token $Options->findOrCreate(['name' => 'personal_token']);
            
    $purchase_code $Options->findOrCreate(['name' => 'purchase_code']);

            if (empty(
    $personal_token->value) || empty($purchase_code->value)) {
                return 
    false;
            }

            if (!
    $this->validateLicense()) {
                return 
    false;
            }

            return 
    true;
        }

        public function 
    validateLicense()
        {
            if ((
    $result Cache::read('license_response_result''1week')) === false) {
                
    $personal_token get_option('personal_token');
                
    $purchase_code get_option('purchase_code');

                
    $result $this->licenseCurlRequest([
                    
    'personal_token' => $personal_token,
                    
    'purchase_code' => $purchase_code
                
    ]);

                
    Cache::write('license_response_result'$result'1week');
            }

            if (isset(
    $result['item']['id']) && $result['item']['id'] == 16887109) {
                return 
    true;
            }

            return 
    false;
        }

        public function 
    licenseCurlRequest($data = [])
        {
            
    $reponse curlRequest('https://api.envato.com/v3/market/buyer/purchase''GET', [
                
    'code' => trim($data['purchase_code'])
            ], [
    'Authorization: Bearer ' trim($data['personal_token'])]);

            return 
    json_decode($reponsetrue);
        }
    }