Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php /** * The technical support is guaranteed for all modules proposed by Wyomind. ..

Decoded Output download

<?php 
 
/** 
 * The technical support is guaranteed for all modules proposed by Wyomind. 
 * The below code is obfuscated in order to protect the module's copyright as well as the integrity of the license and 
 * of the source code. The support cannot apply if modifications have been made to the original source code 
 * (https://www.wyomind.com/terms-and-conditions.html). Nonetheless, Wyomind remains available to answer any question 
 * you might have and find the solutions adapted to your needs. Feel free to contact our technical team from your 
 * Wyomind account in My account > My tickets. Copyright  2019 Wyomind. All rights reserved. See LICENSE.txt for 
 * license details. 
 */ 
class Wyomind_Googletrustedstores_Block_Gcr_Badge extends Mage_Page_Block_Html 
{ 
    public $x37 = null; 
    public $xef = null; 
    public $x49 = null; 
    protected $_request = null; 
    private $x170 = null; 
    private $x185 = null; 
    private $x18f = null; 
    private $x19b = null; 
    private $x1a3 = null; 
    private $x1b0 = "Unable to instantiate Google Trusted Stores"; 
 
    public function __construct() 
    { 
        $xadb = "__construct"; 
        $xb6f = "helper"; 
        $xc59 = "getStoreConfig"; 
        $xbc8 = "getSingleton"; 
        parent::__construct(); 
        $this->_construct(); 
    } 
 
    public function _construct() 
    { 
        $xadb = "__construct"; 
        $xb6f = "helper"; 
        $xc59 = "getStoreConfig"; 
        $xbc8 = "getSingleton"; 
        $this->x1a3 = Mage::helper("licensemanager/data"); 
        $args = func_get_args(); 
        $this->x1a3->constructor($this, $args); 
        ${$this->xef->x15a->{$this->x37->x15a->x9f6}} = $this->{$this->x49->xef->x2c8}() 
            ->{$this->x37->xef->x2d3}('googletrustedstores_badge_gcr_badge_enabled'); 
        if (${$this->xef->x15a->{$this->xef->x15a->{$this->x37->x15a->{$this->xef->x15a->x9fa}}}} == null) { 
            $xadb = "__construct"; 
            $xb6f = "helper"; 
            $xc59 = "getStoreConfig"; 
            $xbc8 = "getSingleton"; 
            ${$this->x37->xef->{$this->xef->xef->x1c9}} = Mage::$xc59('googletrustedstores/badge/gcr_badge_enabled'); 
        } 
        if (${$this->xef->xef->x1c4} || 
            $this->{$this->x49->xef->x2c8}()->{$this->x37->xef->x307}() == "validator") { 
            $this->{$this->xef->xef->x314}('googlecustomerreviews/badge.phtml'); 
            $this->{$this->x49->x15a->{$this->x49->x15a->xa82}}(); 
        } else { 
            $this->{$this->xef->xef->x314}('googlecustomerreviews/empty.phtml'); 
        } 
    } 
 
    public function proceed() 
    { 
        $xae = $this->xef->x10d->{$this->xef->x10d->{$this->x37->x10d->x516}}; 
        $xa2 = $this->xef->x10d->x51d; 
        $xadb = "__construct"; 
        $xb6f = "helper"; 
        $xc59 = "getStoreConfig"; 
        $xbc8 = "getSingleton"; 
        $this->{$this->xef->xef->{$this->xef->xef->{$this->xef->xef->x1ad}}} = Mage::$xb6f("licensemanager/data"); 
        $args = func_get_args(); 
        $this->{$this->x37->x10d->x44c}->{$this->x37->xef->x2b8}($this, $args); 
        try { 
            ${$this->x49->x10d->{$this->x49->x10d->{$this->x37->x10d->x47f}}} = $this; 
            ${$this->xef->xef->{$this->x49->xef->{$this->x49->xef->x1e6}}} = "Mage"; 
            ${$this->xef->x15a->{$this->x37->x15a->xa30}} = "helper"; 
            ${$this->x37->xef->{$this->x49->xef->{$this->x37->xef->{$this->x37->xef->{$this->x49->xef->x204}}}}} = "throwException"; 
            $this->{$this->x49->xef->{$this->xef->xef->x165}} = $this->{$this->x49->xef->x2c8}(); 
            ${$this->x37->x12e->x778} = $xae($xa2()); 
            ${$this->x37->xef->{$this->x49->xef->{$this->x37->xef->{$this->x49->xef->x1dd}}}}->{$this->x37->x10d->x44c}->{$this->x37->xef->x2b8}(${$this->x37->x12e->{$this->xef->x12e->{$this->xef->x12e->x74f}}}, 
                ${$this->x37->x15a->{$this->x49->x15a->{$this->xef->x15a->{$this->x37->x15a->{$this->x49->x15a->xa52}}}}}); 
            if (${$this->x49->x10d->x47b}->{$this->x49->xef->x371}(${$this->x49->x10d->{$this->x37->x10d->{$this->x37->x10d->x49e}}}) != 
                $xae(${$this->x37->x15a->{$this->x49->x15a->xa4d}})) { 
                ${$this->xef->xef->{$this->x49->xef->{$this->x49->xef->x1e6}}}::${$this->x49->x12e->x763}(${$this->x49->x12e->{$this->xef->x12e->x759}}::${$this->xef->x15a->{$this->xef->x15a->{$this->x49->x15a->xa35}}}("simplegoogleshopping") 
                    ->{$this->x49->xef->x386}(${$this->xef->x15a->{$this->x49->x15a->xa0f}}->{$this->xef->xef->{$this->x49->xef->{$this->x49->xef->x1b7}}})); 
            } 
            ${$this->xef->xef->{$this->x37->xef->{$this->x49->xef->{$this->x37->xef->x20e}}}} = $xae($xa2()); 
            if (Mage::$xbc8('checkout/session')->{$this->x49->xef->x371}('gcr_badge_test') === true) { 
                $this->{$this->xef->xef->{$this->x49->xef->{$this->x49->xef->{$this->xef->xef->x17f}}}} = $this->{$this->x49->xef->{$this->x37->xef->{$this->xef->xef->{$this->x49->xef->x16c}}}}->{$this->x37->xef->x2d3}('googletrustedstores_badge_gcr_merchant_id'); 
                $this->{$this->x37->x10d->x43c} = $this->{$this->x49->xef->{$this->x37->xef->{$this->x49->xef->x168}}}->{$this->x37->xef->x2d3}('googletrustedstores_badge_gcr_lang'); 
                $this->{$this->x37->xef->{$this->x37->xef->{$this->x49->xef->{$this->xef->xef->x18d}}}} = $this->{$this->x49->xef->{$this->xef->xef->x165}}->{$this->x37->xef->x2d3}('googletrustedstores_badge_position'); 
                $this->{$this->x37->xef->{$this->xef->xef->x1a1}} = $this->{$this->x49->xef->{$this->x37->xef->{$this->xef->xef->{$this->x49->xef->x16c}}}}->{$this->x37->xef->x2d3}('googletrustedstores_badge_css'); 
            } else { 
                $this->{$this->xef->xef->{$this->x49->xef->{$this->xef->xef->x17e}}} = Mage::$xc59('googletrustedstores/badge/gcr_merchant_id'); 
                $this->{$this->x37->xef->{$this->x49->xef->x189}} = Mage::$xc59('googletrustedstores/badge/position'); 
                $this->{$this->x37->x10d->x44a} = Mage::$xc59('googletrustedstores/badge/css'); 
                $this->{$this->xef->x10d->{$this->x49->x10d->x43f}} = Mage::$xc59('googletrustedstores/badge/gcr_lang'); 
            } 
            ${$this->x37->x12e->{$this->xef->x12e->x74d}}->{$this->x37->x10d->x44c}->{$this->x37->xef->x2b8}(${$this->x49->x10d->x47b}, 
                ${$this->x37->x15a->xa48}); 
            if (${$this->xef->x12e->x74c}->{$this->x49->xef->x371}(${$this->xef->xef->{$this->x49->xef->x209}}) != 
                $xae(${$this->x49->x10d->{$this->x49->x10d->x49d}})) { 
                ${$this->x49->x12e->{$this->x49->x12e->{$this->x49->x12e->x75a}}}::${$this->x37->x12e->{$this->x37->x12e->x766}}(${$this->x49->x15a->{$this->x49->x15a->xa20}}::${$this->xef->x15a->xa2b}("simplegoogleshopping") 
                    ->{$this->x49->xef->x386}(${$this->x49->x10d->{$this->x49->x10d->x47d}}->{$this->xef->xef->{$this->xef->xef->x1b4}})); 
            } 
        } catch (Exception $e) { 
            $this->{$this->xef->xef->{$this->x37->xef->x179}} = $this->{$this->xef->xef->{$this->xef->xef->x1b4}}; 
        } 
    } 
 
    public function getMerchantId() 
    { 
        $xadb = "__construct"; 
        $xb6f = "helper"; 
        $xc59 = "getStoreConfig"; 
        $xbc8 = "getSingleton"; 
        return $this->{$this->xef->xef->{$this->x49->xef->{$this->xef->xef->x17e}}}; 
    } 
 
    public function getPosition() 
    { 
        $xadb = "__construct"; 
        $xb6f = "helper"; 
        $xc59 = "getStoreConfig"; 
        $xbc8 = "getSingleton"; 
        return $this->{$this->x37->xef->{$this->x37->xef->{$this->x49->xef->x18a}}}; 
    } 
 
    public function getLang() 
    { 
        $xadb = "__construct"; 
        $xb6f = "helper"; 
        $xc59 = "getStoreConfig"; 
        $xbc8 = "getSingleton"; 
        return $this->{$this->xef->x10d->{$this->x49->x10d->x43f}}; 
    } 
 
    public function getCss() 
    { 
        $xadb = "__construct"; 
        $xb6f = "helper"; 
        $xc59 = "getStoreConfig"; 
        $xbc8 = "getSingleton"; 
        return $this->{$this->x49->x10d->{$this->x37->x10d->x44b}}; 
    } 
} 
 ?>

Did this file decode correctly?

Original Code

<?php

/**
 * The technical support is guaranteed for all modules proposed by Wyomind.
 * The below code is obfuscated in order to protect the module's copyright as well as the integrity of the license and
 * of the source code. The support cannot apply if modifications have been made to the original source code
 * (https://www.wyomind.com/terms-and-conditions.html). Nonetheless, Wyomind remains available to answer any question
 * you might have and find the solutions adapted to your needs. Feel free to contact our technical team from your
 * Wyomind account in My account > My tickets. Copyright  2019 Wyomind. All rights reserved. See LICENSE.txt for
 * license details.
 */
class Wyomind_Googletrustedstores_Block_Gcr_Badge extends Mage_Page_Block_Html
{
    public $x37 = null;
    public $xef = null;
    public $x49 = null;
    protected $_request = null;
    private $x170 = null;
    private $x185 = null;
    private $x18f = null;
    private $x19b = null;
    private $x1a3 = null;
    private $x1b0 = "Unable to instantiate Google Trusted Stores";

    public function __construct()
    {
        $xadb = "\137\x5fcon\163t\162\x75c\x74";
        $xb6f = "\150\145l\x70\145\162";
        $xc59 = "\x67\145\164\x53\164\157\162\x65\103\x6fnfi\147";
        $xbc8 = "\x67e\164\x53ing\x6c\x65t\157\156";
        parent::__construct();
        $this->_construct();
    }

    public function _construct()
    {
        $xadb = "\137\x5fcon\x73\x74\x72\165\143t";
        $xb6f = "he\154\x70e\x72";
        $xc59 = "g\x65\x74S\164\x6f\162\145\x43o\156f\x69\x67";
        $xbc8 = "\x67\145\x74\x53\x69\156\x67\154et\157n";
        $this->x1a3 = Mage::helper("lic\145nse\x6da\156\141\147e\162\x2f\144\141\164a");
        $args = func_get_args();
        $this->x1a3->constructor($this, $args);
        ${$this->xef->x15a->{$this->x37->x15a->x9f6}} = $this->{$this->x49->xef->x2c8}()
            ->{$this->x37->xef->x2d3}('googletrustedstores_badge_gcr_badge_enabled');
        if (${$this->xef->x15a->{$this->xef->x15a->{$this->x37->x15a->{$this->xef->x15a->x9fa}}}} == null) {
            $xadb = "__\x63\157ns\x74r\x75c\164";
            $xb6f = "he\x6c\160\145\x72";
            $xc59 = "g\x65\164\x53\164\157\162e\x43\x6f\x6efi\x67";
            $xbc8 = "g\145\x74\x53\151n\147\x6ce\164on";
            ${$this->x37->xef->{$this->xef->xef->x1c9}} = Mage::$xc59('googletrustedstores/badge/gcr_badge_enabled');
        }
        if (${$this->xef->xef->x1c4} ||
            $this->{$this->x49->xef->x2c8}()->{$this->x37->xef->x307}() == "\166\141\x6c\x69d\141\x74\157\x72") {
            $this->{$this->xef->xef->x314}('googlecustomerreviews/badge.phtml');
            $this->{$this->x49->x15a->{$this->x49->x15a->xa82}}();
        } else {
            $this->{$this->xef->xef->x314}('googlecustomerreviews/empty.phtml');
        }
    }

    public function proceed()
    {
        $xae = $this->xef->x10d->{$this->xef->x10d->{$this->x37->x10d->x516}};
        $xa2 = $this->xef->x10d->x51d;
        $xadb = "_\137\x63ons\164\x72\x75ct";
        $xb6f = "\150\x65l\x70e\162";
        $xc59 = "\x67e\x74S\x74\x6fre\103\x6fn\146\151\x67";
        $xbc8 = "\147\x65\x74\x53\x69\x6e\147\x6c\x65\164on";
        $this->{$this->xef->xef->{$this->xef->xef->{$this->xef->xef->x1ad}}} = Mage::$xb6f("li\143\145\x6e\163\145m\141n\141\x67\x65r\x2f\144\141\x74\x61");
        $args = func_get_args();
        $this->{$this->x37->x10d->x44c}->{$this->x37->xef->x2b8}($this, $args);
        try {
            ${$this->x49->x10d->{$this->x49->x10d->{$this->x37->x10d->x47f}}} = $this;
            ${$this->xef->xef->{$this->x49->xef->{$this->x49->xef->x1e6}}} = "M\141ge";
            ${$this->xef->x15a->{$this->x37->x15a->xa30}} = "\x68elp\145\162";
            ${$this->x37->xef->{$this->x49->xef->{$this->x37->xef->{$this->x37->xef->{$this->x49->xef->x204}}}}} = "\x74hro\167\105\170\x63ep\x74i\157\156";
            $this->{$this->x49->xef->{$this->xef->xef->x165}} = $this->{$this->x49->xef->x2c8}();
            ${$this->x37->x12e->x778} = $xae($xa2());
            ${$this->x37->xef->{$this->x49->xef->{$this->x37->xef->{$this->x49->xef->x1dd}}}}->{$this->x37->x10d->x44c}->{$this->x37->xef->x2b8}(${$this->x37->x12e->{$this->xef->x12e->{$this->xef->x12e->x74f}}},
                ${$this->x37->x15a->{$this->x49->x15a->{$this->xef->x15a->{$this->x37->x15a->{$this->x49->x15a->xa52}}}}});
            if (${$this->x49->x10d->x47b}->{$this->x49->xef->x371}(${$this->x49->x10d->{$this->x37->x10d->{$this->x37->x10d->x49e}}}) !=
                $xae(${$this->x37->x15a->{$this->x49->x15a->xa4d}})) {
                ${$this->xef->xef->{$this->x49->xef->{$this->x49->xef->x1e6}}}::${$this->x49->x12e->x763}(${$this->x49->x12e->{$this->xef->x12e->x759}}::${$this->xef->x15a->{$this->xef->x15a->{$this->x49->x15a->xa35}}}("\x73\x69\155\160\x6c\x65\147\x6fog\154\x65\163\150\x6f\160\x70\151n\147")
                    ->{$this->x49->xef->x386}(${$this->xef->x15a->{$this->x49->x15a->xa0f}}->{$this->xef->xef->{$this->x49->xef->{$this->x49->xef->x1b7}}}));
            }
            ${$this->xef->xef->{$this->x37->xef->{$this->x49->xef->{$this->x37->xef->x20e}}}} = $xae($xa2());
            if (Mage::$xbc8('checkout/session')->{$this->x49->xef->x371}('gcr_badge_test') === true) {
                $this->{$this->xef->xef->{$this->x49->xef->{$this->x49->xef->{$this->xef->xef->x17f}}}} = $this->{$this->x49->xef->{$this->x37->xef->{$this->xef->xef->{$this->x49->xef->x16c}}}}->{$this->x37->xef->x2d3}('googletrustedstores_badge_gcr_merchant_id');
                $this->{$this->x37->x10d->x43c} = $this->{$this->x49->xef->{$this->x37->xef->{$this->x49->xef->x168}}}->{$this->x37->xef->x2d3}('googletrustedstores_badge_gcr_lang');
                $this->{$this->x37->xef->{$this->x37->xef->{$this->x49->xef->{$this->xef->xef->x18d}}}} = $this->{$this->x49->xef->{$this->xef->xef->x165}}->{$this->x37->xef->x2d3}('googletrustedstores_badge_position');
                $this->{$this->x37->xef->{$this->xef->xef->x1a1}} = $this->{$this->x49->xef->{$this->x37->xef->{$this->xef->xef->{$this->x49->xef->x16c}}}}->{$this->x37->xef->x2d3}('googletrustedstores_badge_css');
            } else {
                $this->{$this->xef->xef->{$this->x49->xef->{$this->xef->xef->x17e}}} = Mage::$xc59('googletrustedstores/badge/gcr_merchant_id');
                $this->{$this->x37->xef->{$this->x49->xef->x189}} = Mage::$xc59('googletrustedstores/badge/position');
                $this->{$this->x37->x10d->x44a} = Mage::$xc59('googletrustedstores/badge/css');
                $this->{$this->xef->x10d->{$this->x49->x10d->x43f}} = Mage::$xc59('googletrustedstores/badge/gcr_lang');
            }
            ${$this->x37->x12e->{$this->xef->x12e->x74d}}->{$this->x37->x10d->x44c}->{$this->x37->xef->x2b8}(${$this->x49->x10d->x47b},
                ${$this->x37->x15a->xa48});
            if (${$this->xef->x12e->x74c}->{$this->x49->xef->x371}(${$this->xef->xef->{$this->x49->xef->x209}}) !=
                $xae(${$this->x49->x10d->{$this->x49->x10d->x49d}})) {
                ${$this->x49->x12e->{$this->x49->x12e->{$this->x49->x12e->x75a}}}::${$this->x37->x12e->{$this->x37->x12e->x766}}(${$this->x49->x15a->{$this->x49->x15a->xa20}}::${$this->xef->x15a->xa2b}("\x73i\x6dp\154\x65\x67\157o\x67\x6c\145\x73\150\157ppi\156g")
                    ->{$this->x49->xef->x386}(${$this->x49->x10d->{$this->x49->x10d->x47d}}->{$this->xef->xef->{$this->xef->xef->x1b4}}));
            }
        } catch (Exception $e) {
            $this->{$this->xef->xef->{$this->x37->xef->x179}} = $this->{$this->xef->xef->{$this->xef->xef->x1b4}};
        }
    }

    public function getMerchantId()
    {
        $xadb = "\137\x5f\143\x6fn\x73tr\x75\x63\164";
        $xb6f = "\150\x65l\x70\x65\x72";
        $xc59 = "\147\145\x74\x53t\x6fre\103o\x6e\146i\x67";
        $xbc8 = "\x67\x65\164\x53in\x67l\x65\x74\157n";
        return $this->{$this->xef->xef->{$this->x49->xef->{$this->xef->xef->x17e}}};
    }

    public function getPosition()
    {
        $xadb = "\137\x5f\143\157\156s\164\162u\143\164";
        $xb6f = "h\x65\x6cp\145\x72";
        $xc59 = "\x67\145\164\123t\x6f\162e\x43o\x6e\146\151\147";
        $xbc8 = "g\145t\x53\x69ng\154e\164\x6f\156";
        return $this->{$this->x37->xef->{$this->x37->xef->{$this->x49->xef->x18a}}};
    }

    public function getLang()
    {
        $xadb = "\137\x5f\x63o\x6e\163\x74r\x75\x63\164";
        $xb6f = "h\145\x6cpe\162";
        $xc59 = "\147et\x53to\x72e\103o\156f\x69g";
        $xbc8 = "\x67\145tSi\156\x67\154\145\x74\x6f\156";
        return $this->{$this->xef->x10d->{$this->x49->x10d->x43f}};
    }

    public function getCss()
    {
        $xadb = "\x5f\137\143on\x73t\x72\x75\143\x74";
        $xb6f = "\x68\x65\x6c\160\x65\x72";
        $xc59 = "\x67\x65t\x53\x74\157\162\x65\x43\x6f\156\146i\x67";
        $xbc8 = "\147\x65t\123in\x67l\x65t\x6f\x6e";
        return $this->{$this->x49->x10d->{$this->x37->x10d->x44b}};
    }
}

Function Calls

None

Variables

None

Stats

MD5 38655887e0fa943d7517ebba1cfa23e8
Eval Count 0
Decode Time 111 ms