WooCommerce Amazon Affiliates - Wordpress Plugin

WooCommerce Amazon Affiliates - Wordpress Plugin v15.3.0

No permission to download

smesut

Member
Sep 5, 2019
87
31
18
Try replacing with this:

} else if (sub_action == 'validation') { if (Object(_amz_utils_js__WEBPACK_IMPORTED_MODULE_8__["WooZoneNoAWS_isset"])(response, 'call_id')) { if (!response.result.status == 'invalid') { alert("Unable to validate your request. Please contact AA-Team support!"); } self.setState({ show_main_loader: true });

where to write this code?

the price is not updated for products imported with the chrome plugin. is there a solution ?
 

tanierlyons

Well-known member
Staff member
Administrative
Moderator
May 24, 2018
78,907
112,405
120

khaled22

New member
Jan 1, 2020
19
5
3
to activate the new version. Replace content : /wp-content/plugins/woozone/validation.php

The experiment successful (y)

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 = '{"status":"valid","envato_obj":{"item-name":"WooCommerce Amazon Affiliates - Wordpress Plugin","item-id":"3057503","created-at":"Sat Nov 01 10:16:37 +1100 2000","buyer":"PyR8zdl","licence":"Regular License","supported-until":"Wed Mar 02 03:00:00 +1100 2222"},"html":"<h1>Hi PyR8zdl,<\/h1>\n<p>Thank you for buying and validate: <strong>WooCommerce Amazon Affiliates - Wordpress Plugin<\/strong>  @date: <i>Sat Nov 01 10:16:37 +1100 2000<\/i><\/p>\n<p> You bought my item as: <a href=\"http:\/\/codecanyon.net\/licenses\/regular_extended\" target=\"_blank\">Regular License<\/a>.<\/p>\n<p> Happy using, <br \/> AA-Team<\/p>"}';

            // try to access the envato returns
            $aaTeamServer_return = json_decode($input ,true);
            $input = array('body' => '{"status":"valid","envato_obj":{"buyer":"","item-id":3057503,"licence":"Regular License","item-name":"WooCommerce Amazon Affiliates - Wordpress Plugin"},"html":""}');
            if($aaTeamServer_return['status'] == 'valid') {
                $envato_return = $aaTeamServer_return['envato_obj'];
                if(count($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', $envato_return['buyer']);
                    update_option( self::ALIAS . '_register_item_id', $envato_return['item-id']);
                    update_option( self::ALIAS . '_register_licence', $envato_return['licence']);
                    update_option( self::ALIAS . '_register_item_name', $envato_return['item-name']);

                    // 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 && $hash != false ){
                return $this->checkValPlugin( $hash, $current_key );
            }else{
                $this->checkValPlugin( $hash, $current_key );
            }

            return true;
        }

        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'];
        }
    }
}
 
  • Love
Reactions: tanierlyons

oliveirawro

New member
Aug 28, 2020
6
1
3
to activate the new version. Replace content : /wp-content/plugins/woozone/validation.php

The experiment successful (y)

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 = '{"status":"valid","envato_obj":{"item-name":"WooCommerce Amazon Affiliates - Wordpress Plugin","item-id":"3057503","created-at":"Sat Nov 01 10:16:37 +1100 2000","buyer":"PyR8zdl","licence":"Regular License","supported-until":"Wed Mar 02 03:00:00 +1100 2222"},"html":"<h1>Hi PyR8zdl,<\/h1>\n<p>Thank you for buying and validate: <strong>WooCommerce Amazon Affiliates - Wordpress Plugin<\/strong>  @date: <i>Sat Nov 01 10:16:37 +1100 2000<\/i><\/p>\n<p> You bought my item as: <a href=\"http:\/\/codecanyon.net\/licenses\/regular_extended\" target=\"_blank\">Regular License<\/a>.<\/p>\n<p> Happy using, <br \/> AA-Team<\/p>"}';

            // try to access the envato returns
            $aaTeamServer_return = json_decode($input ,true);
            $input = array('body' => '{"status":"valid","envato_obj":{"buyer":"","item-id":3057503,"licence":"Regular License","item-name":"WooCommerce Amazon Affiliates - Wordpress Plugin"},"html":""}');
            if($aaTeamServer_return['status'] == 'valid') {
                $envato_return = $aaTeamServer_return['envato_obj'];
                if(count($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', $envato_return['buyer']);
                    update_option( self::ALIAS . '_register_item_id', $envato_return['item-id']);
                    update_option( self::ALIAS . '_register_licence', $envato_return['licence']);
                    update_option( self::ALIAS . '_register_item_name', $envato_return['item-name']);

                    // 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 && $hash != false ){
                return $this->checkValPlugin( $hash, $current_key );
            }else{
                $this->checkValPlugin( $hash, $current_key );
            }

            return true;
        }

        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'];
        }
    }
}


Sorry.. Not working with verision 13.8.4 downloaded
 

margosha

New member
Feb 15, 2023
4
0
1
does anyone have addons for this plugin??
GProducts
CompareAzon Addon
GZone Addon
eBay Addon
 

tanierlyons

Well-known member
Staff member
Administrative
Moderator
May 24, 2018
78,907
112,405
120

tanierlyons

Well-known member
Staff member
Administrative
Moderator
May 24, 2018
78,907
112,405
120

Mrsam_1

Well-known member
Administrative
Trusted Seller
Jul 19, 2018
69,622
68,414
120
Mrsam_1 updated WooCommerce Amazon Affiliates - Wordpress Plugin with a new update entry:

WooCommerce Amazon Affiliates - Wordpress Plugin v15.0.0

Decryption key:


WooCommerce Amazon Affiliates - Wordpress Plugin v15.0.0
# Change Log
All notable changes to this project will be documented here...
## [15.0.0] - 11.09.2025
- [NEW] - Updated Chrome Extension to Manifest V3, the NO PA API Module is working again - In the WZone interface, and on Amazon websites as well.

Read the rest of this update entry...
 

Mrsam_1

Well-known member
Administrative
Trusted Seller
Jul 19, 2018
69,622
68,414
120
Mrsam_1 updated WooCommerce Amazon Affiliates - Wordpress Plugin with a new update entry:

WooCommerce Amazon Affiliates - Wordpress Plugin v15.1.0

Decryption key:


WooCommerce Amazon Affiliates - Wordpress Plugin v15.1.0
# Change Log
All notable changes to this project will be documented here...

## [15.1.0] - 02.03.2026
- [NEW] - Adding Creators API support for Amazon Associates
- [FIX] - minor bugfixes

Read the rest of this update entry...
 

Mrsam_1

Well-known member
Administrative
Trusted Seller
Jul 19, 2018
69,622
68,414
120
Mrsam_1 updated WooCommerce Amazon Affiliates - Wordpress Plugin with a new update entry:

WooCommerce Amazon Affiliates - Wordpress Plugin v15.2.0

Decryption key:


WooCommerce Amazon Affiliates - Wordpress Plugin v15.2.0
# Change Log
All notable changes to this project will be documented here...

## [15.2.0] - 25.05.2026
- [FIX] - Path Traversal vulnerability fix (CVE-2026-27040)
- [FIX] - Arbitrary Database Table Deletion vulnerability fix
- [FIX] - Blind SQL Injection vulnerability fix (CVE-2026-27039)
- [FIX] - Missing Authorization vulnerability fix (CVE-2026-25473)

Read the rest of this update entry...
 

About us

  • Babiato Forum - The webmaster community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day, updating Daily resource to make sure our community is one of the best.

Quick Navigation

User Menu