20.gif

Search (advanced search)
Use this Search form before posting, asking or make a new thread.
Tips: Use Quotation mark to search words (eg. "How To Make Money Online")

11-17-2016, 01:22 AM
Post: #1
WooZone - WooCommerce Amazon Affiliates v9.0.2.12
Latest, untouched
Please note, I am not maintaining this anymore, so as and when...

WooZone - WooCommerce Amazon Affiliates v9.0.2.12

/*
Plugin Name: WooZone - WooCommerce Amazon Affiliates
Plugin URI: http://codecanyon.net/item/woocommerce-a...in/3057503
Description: Choose from over a million products and earn advertising fees from the 1’st internet retailer online! You can earn up to 10% advertising fees from the 1’st trusted e-commerce leader with minimal effort. This plugin allows you to import unlimited number of products directly from Amazon right into your Wordpress WooCommerce Store! EnjoY!
Version: 9.0.2.12
Author: AA-Team
Author URI: http://codecanyon.net/user/AA-Team/portfolio
Text Domain: woozone
*/

MultiUpload Link
11-17-2016, 07:19 PM
Post: #2
RE: WooZone - WooCommerce Amazon Affiliates v9.0.2.12
Thanks. I downloaded and overwrote my old nulled files and it still works!
+Rep
11-21-2016, 02:24 AM
Post: #3
RE: WooZone - WooCommerce Amazon Affiliates v9.0.2.12
No Problemo Dude.

Bit of the developers fault, as unlike other codecanyon plugins that use an API, they have lately actually notified us of updates and requested a manual overwrite.

Yeah, its clean, but works anyway. Quick question:

When you say nulled? You mean the request for your envato username and pass have been coded removed? So you have full functionality?
14.gif
11-21-2016, 11:09 PM
Post: #4
RE: WooZone - WooCommerce Amazon Affiliates v9.0.2.12
This Plugin Not Nulled...
11-22-2016, 07:55 PM
Post: #5
RE: WooZone - WooCommerce Amazon Affiliates v9.0.2.12
Too Null It. Before Activation, edit the validation.php and replace the code with this:

PHP Code:
<?php
/**
 * Description:     We developed this module to stop all those haters who steal our hard work!
 * Author:         AA-Team
 * Author URI:        http://codecanyon.net/user/AA-Team/portfolio
**/
! defined( 'ABSPATH' ) and exit;

if(
class_exists('WooZone_Validation') != true) {
    class 
WooZone_Validation {

        const 
VERSION = 1;
        const 
ALIAS = 'WooZone';

        
/**
         * configuration storage
         *
         * @var array
         */
        
public $cfg = array();

        private 
$key_sep = '#!#';

        
/**
         * The constructor
         */
        
public function __construct ()
        {
            
add_action('wp_ajax_' . ( self::ALIAS ) . 'TryActivate', array( $this, 'aaTeamServerValidate' ));
        }

        public function 
aaTeamServerValidate () {

            
// fake return, just for development
            
$input = array();

            
// validation link
            
$input = wp_remote_request( 'http://cc.aa-team.com/validation/validate.php?ipc=' .
            (
urlencode($_REQUEST['ipc'])) .
            
'&email=' . (urlencode($_REQUEST['email'])) .
            
'&app=' .  self::ALIAS );

            
// try to access the envato returns
            
$aaTeamServer_return = json_decode($input['body'] ,true);
           
$aaTeamServer_return['status'] = 'valid';
            if(
$aaTeamServer_return['status'] == 'valid') {
                
$envato_return = 2;
                if(
$envato_return > 1){
                    
update_option( self::ALIAS . '_register_key', $_REQUEST['ipc']);
                    
update_option( self::ALIAS . '_register_email', $_REQUEST['email']);
                    
update_option( self::ALIAS . '_register_buyer', 'curt');
                    
update_option( self::ALIAS . '_register_item_id', '6109437');
                    
update_option( self::ALIAS . '_register_licence', 'Vikili');
                    
update_option( self::ALIAS . '_register_item_name', 'Woocommerce Amazon Affiliates');

                    
// generate the hash marker
                    
$hash = md5($this->encrypt( $_REQUEST['ipc'] ));

                    
// update to db the hash for plugin
                    
update_option( self::ALIAS . '_hash', $hash);

                    die(
json_encode(
                        array(
                            
'status' => 'OK'
                        
)
                    ));
                }
            }

            die (
json_encode(
                array(
                    
'status' => 'ERROR',
                    
'msg'    => 'Unable to validate this plugin. Please contact AA-Team Support!'
                
)
            ));
        }

        public function 
isReg ( $hash )
        {
            
$current_key = get_option( self::ALIAS . '_register_key');

            if( 
$current_key != false and $hash != false ){
                return 
$this->checkValPlugin( $hash, $current_key );
            }else{
                
$this->checkValPlugin( $hash, $current_key );
            }

            return 
false;
        }

        private function 
checkValPlugin ( $hash, $code )
        {
            global 
$wpdb;

            
$validation_date = get_option( self::ALIAS . '_register_timestamp');
            
$sum_hash = md5($this->encrypt( $code, $validation_date ));

            
// invalid, unload the modules
            
if($sum_hash != $hash){
                
$allSettingsQuery = "SELECT * FROM " . $wpdb->prefix . "options where 1=1 and option_name REGEXP '" . ( self::ALIAS . '_module' ) . "_([a-z])'";
                
$results = $wpdb->get_results( $allSettingsQuery, ARRAY_A);
                
// prepare the return
                
$return = array();
                if( 
count($results) > 0 ){
                    foreach (
$results as $key => $value){
                        if( 
get_option('WooZone_do_activation_redirect', false) == false ){
                            
//update_option( $value['option_name'], 'false' );
                        
}
                    }
                }
            }else{
                return 
'valid_hash';
            }
        }

        private function 
encrypt ( $code, $sendTime=null )
        {
            
// add some extra data to hash
            
$register_email = get_option( self::ALIAS . '_register_email');
            
$buyer = get_option( self::ALIAS . '_register_buyer');
            
$item_id = get_option( self::ALIAS . '_register_item_id');
            
$validation_date = !isset($sendTime) ? time() : $sendTime;

            if(!isset(
$sendTime)) {
                
// store the date into DB, use for decrypt
                
update_option( self::ALIAS . '_register_timestamp', $validation_date);
            }

            return  
$validation_date . $this->key_sep .
                    
$register_email . $this->key_sep .
                    
$this->getHost(get_option('siteurl')) . $this->key_sep .
                    
$buyer . $this->key_sep .
                    
$item_id . $this->key_sep .
                    
$code . $this->key_sep;
        }

        private function 
decrypt ( $code )
        {

        }

        private function 
getHost ( $url )
        {
            
$__ = parse_url( $url );
            return 
$__['host'];
        }
    }
} 
06-01-2017, 01:30 AM
Post: #6
RE: WooZone - WooCommerce Amazon Affiliates v9.0.2.12
(11-22-2016 07:55 PM)hdaackda1 Wrote:  Too Null It. Before Activation, edit the validation.php and replace the code with this:

PHP Code:
<?php
/**
 * Description:     We developed this module to stop all those haters who steal our hard work!
 * Author:         AA-Team
 * Author URI:        http://codecanyon.net/user/AA-Team/portfolio
**/
! defined( 'ABSPATH' ) and exit;

if(
class_exists('WooZone_Validation') != true) {
    class 
WooZone_Validation {

        const 
VERSION = 1;
        const 
ALIAS = 'WooZone';

        
/**
         * configuration storage
         *
         * @var array
         */
        
public $cfg = array();

        private 
$key_sep = '#!#';

        
/**
         * The constructor
         */
        
public function __construct ()
        {
            
add_action('wp_ajax_' . ( self::ALIAS ) . 'TryActivate', array( $this, 'aaTeamServerValidate' ));
        }

        public function 
aaTeamServerValidate () {

            
// fake return, just for development
            
$input = array();

            
// validation link
            
$input = wp_remote_request( 'http://cc.aa-team.com/validation/validate.php?ipc=' .
            (
urlencode($_REQUEST['ipc'])) .
            
'&email=' . (urlencode($_REQUEST['email'])) .
            
'&app=' .  self::ALIAS );

            
// try to access the envato returns
            
$aaTeamServer_return = json_decode($input['body'] ,true);
           
$aaTeamServer_return['status'] = 'valid';
            if(
$aaTeamServer_return['status'] == 'valid') {
                
$envato_return = 2;
                if(
$envato_return > 1){
                    
update_option( self::ALIAS . '_register_key', $_REQUEST['ipc']);
                    
update_option( self::ALIAS . '_register_email', $_REQUEST['email']);
                    
update_option( self::ALIAS . '_register_buyer', 'curt');
                    
update_option( self::ALIAS . '_register_item_id', '6109437');
                    
update_option( self::ALIAS . '_register_licence', 'Vikili');
                    
update_option( self::ALIAS . '_register_item_name', 'Woocommerce Amazon Affiliates');

                    
// generate the hash marker
                    
$hash = md5($this->encrypt( $_REQUEST['ipc'] ));

                    
// update to db the hash for plugin
                    
update_option( self::ALIAS . '_hash', $hash);

                    die(
json_encode(
                        array(
                            
'status' => 'OK'
                        
)
                    ));
                }
            }

            die (
json_encode(
                array(
                    
'status' => 'ERROR',
                    
'msg'    => 'Unable to validate this plugin. Please contact AA-Team Support!'
                
)
            ));
        }

        public function 
isReg ( $hash )
        {
            
$current_key = get_option( self::ALIAS . '_register_key');

            if( 
$current_key != false and $hash != false ){
                return 
$this->checkValPlugin( $hash, $current_key );
            }else{
                
$this->checkValPlugin( $hash, $current_key );
            }

            return 
false;
        }

        private function 
checkValPlugin ( $hash, $code )
        {
            global 
$wpdb;

            
$validation_date = get_option( self::ALIAS . '_register_timestamp');
            
$sum_hash = md5($this->encrypt( $code, $validation_date ));

            
// invalid, unload the modules
            
if($sum_hash != $hash){
                
$allSettingsQuery = "SELECT * FROM " . $wpdb->prefix . "options where 1=1 and option_name REGEXP '" . ( self::ALIAS . '_module' ) . "_([a-z])'";
                
$results = $wpdb->get_results( $allSettingsQuery, ARRAY_A);
                
// prepare the return
                
$return = array();
                if( 
count($results) > 0 ){
                    foreach (
$results as $key => $value){
                        if( 
get_option('WooZone_do_activation_redirect', false) == false ){
                            
//update_option( $value['option_name'], 'false' );
                        
}
                    }
                }
            }else{
                return 
'valid_hash';
            }
        }

        private function 
encrypt ( $code, $sendTime=null )
        {
            
// add some extra data to hash
            
$register_email = get_option( self::ALIAS . '_register_email');
            
$buyer = get_option( self::ALIAS . '_register_buyer');
            
$item_id = get_option( self::ALIAS . '_register_item_id');
            
$validation_date = !isset($sendTime) ? time() : $sendTime;

            if(!isset(
$sendTime)) {
                
// store the date into DB, use for decrypt
                
update_option( self::ALIAS . '_register_timestamp', $validation_date);
            }

            return  
$validation_date . $this->key_sep .
                    
$register_email . $this->key_sep .
                    
$this->getHost(get_option('siteurl')) . $this->key_sep .
                    
$buyer . $this->key_sep .
                    
$item_id . $this->key_sep .
                    
$code . $this->key_sep;
        }

        private function 
decrypt ( $code )
        {

        }

        private function 
getHost ( $url )
        {
            
$__ = parse_url( $url );
            return 
$__['host'];
        }
    }
} 

This works a treat, thank you
5.gif
I can't stand a naked light bulb, any more than I can a rude remark or a vulgar action. Tennessee Williams




19.gif
Free counters!