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 /* (2017)Mojomexico.com.mx derechos reservados por las leyes Mexicanas, Licencia so..

Decoded Output download

<?php /* 
(2017)Mojomexico.com.mx derechos reservados por las leyes Mexicanas, Licencia solo para el Dominio Registrado, para mas licencias y otros plugins bancarios visite www.mojomexico.com.mx 
*/ 
${"GLOBALS"}["dcemjy"]="css_media_type";${"GLOBALS"}["hpyxiz"]="css_uri";${"GLOBALS"}["lqkqhcnbp"]="js_uri";${"GLOBALS"}["rthjnpgc"]="cookie";${"GLOBALS"}["gplzdyb"]="link";${"GLOBALS"}["orveimyg"]="smarty";${"GLOBALS"}["dyjmtkgo"]="cart";${"GLOBALS"}["tjdgbbgi"]="fp";if(version_compare(_PS_VERSION_,"1.4","<")){class Shop extends ObjectModel{public$id=1;public$id_shop_group=1;public function __construct(){}public static function getShops(){return array(array("id_shop"=>1,"name"=>"Default shop"));}public static function getCurrentShop(){return 1;}}class Logger{public static function AddLog($message,$severity=2){$ldpydmwpm="severity";$tlveevlpkrbb="message";${${"GLOBALS"}["tjdgbbgi"]}=fopen(dirname(__FILE__)."/../logs.txt","a+");fwrite(${${"GLOBALS"}["tjdgbbgi"]},"[".(int)${$ldpydmwpm}."] ".Tools::safeOutput(${$tlveevlpkrbb}));fclose(${${"GLOBALS"}["tjdgbbgi"]});}}}class MojomexicoConnect{protected static$instance;public$cart;public$customer;public$cookie;public$link;public$country;public$employee;public$controller;public$language;public$currency;public$tab;public$shop;public$smarty;public function __construct(){$aeowlkoluc="cookie";global$cookie,$cart,$smarty,$link;$this->tab=null;$this->cookie=${$aeowlkoluc};$this->cart=${${"GLOBALS"}["dyjmtkgo"]};$this->smarty=${${"GLOBALS"}["orveimyg"]};$this->link=${${"GLOBALS"}["gplzdyb"]};$this->controller=new MojomexicoControllerBackwardModule();if(is_object(${${"GLOBALS"}["rthjnpgc"]})){$this->currency=new Currency((int)$cookie->id_currency);$this->language=new Language((int)$cookie->id_lang);$this->country=new Country((int)$cookie->id_country);$this->customer=new MojomexicoCustomerBackwardModule((int)$cookie->id_customer);$this->employee=new Employee((int)$cookie->id_employee);}else{$this->currency=null;$this->language=null;$this->country=null;$this->customer=null;$this->employee=null;}$this->shop=new MojomexicoShopBackwardModule();}public static function getContext(){${"GLOBALS"}["bzhuprmxbd"]="instance";${"GLOBALS"}["czrfhpqzjn"]="instance";$dhtjwulujmd="instance";if(!isset(self::${$dhtjwulujmd}))self::${${"GLOBALS"}["czrfhpqzjn"]}=new MojomexicoConnect();return self::${${"GLOBALS"}["bzhuprmxbd"]};}public function cloneContext(){return clone($this);}public static function shop(){if(!self::$instance->shop->getContextType())return MojomexicoShopBackwardModule::CONTEXT_ALL;return self::$instance->shop->getContextType();}}class MojomexicoShopBackwardModule extends Shop{const CONTEXT_ALL=1;public$id=1;public$id_shop_group=1;public function getContextType(){return MojomexicoShopBackwardModule::CONTEXT_ALL;}public function getID(){return 1;}public function getTheme(){return _THEME_NAME_;}}class MojomexicoControllerBackwardModule{public function addJS($js_uri){Tools::addJS(${${"GLOBALS"}["lqkqhcnbp"]});}public function addCSS($css_uri,$css_media_type='all'){Tools::addCSS(${${"GLOBALS"}["hpyxiz"]},${${"GLOBALS"}["dcemjy"]});}public function addJquery(){if(_PS_VERSION_<"1.5")$this->addJS(_PS_JS_DIR_."jquery/jquery-1.4.4.min.js");elseif(_PS_VERSION_>="1.5")$this->addJS(_PS_JS_DIR_."jquery/jquery-1.7.2.min.js");}}class MojomexicoCustomerBackwardModule extends Customer{public$logged=false;public function __construct(){global$cookie;$this->logged=$cookie->isLogged();}public function isLogged($with_guest=false){${"GLOBALS"}["qcbaolohnn"]="with_guest";global$cookie;if(!${${"GLOBALS"}["qcbaolohnn"]}&&$this->is_guest==1)return false;if($cookie->isLogged()==1&&$this->id&&Validate::isUnsignedId($this->id)&&Customer::checkPassword($this->id,$this->passwd))return true;return false;}} 
?>

Did this file decode correctly?

Original Code

<?php /*
(2017)Mojomexico.com.mx derechos reservados por las leyes Mexicanas, Licencia solo para el Dominio Registrado, para mas licencias y otros plugins bancarios visite www.mojomexico.com.mx
*/
${"\x47LOB\x41\x4cS"}["\x64\x63\x65\x6d\x6a\x79"]="\x63\x73\x73_\x6d\x65di\x61\x5f\x74\x79\x70e";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x68\x70yx\x69z"]="\x63\x73\x73_\x75\x72i";${"\x47\x4c\x4fBA\x4cS"}["\x6c\x71k\x71\x68\x63\x6e\x62\x70"]="j\x73\x5f\x75r\x69";${"\x47L\x4f\x42A\x4c\x53"}["\x72\x74h\x6a\x6e\x70\x67\x63"]="c\x6fo\x6bi\x65";${"\x47\x4c\x4fB\x41\x4c\x53"}["g\x70l\x7a\x64yb"]="l\x69\x6e\x6b";${"GL\x4f\x42AL\x53"}["\x6f\x72v\x65\x69\x6dy\x67"]="sma\x72t\x79";${"\x47\x4c\x4f\x42A\x4cS"}["\x64\x79\x6a\x6d\x74\x6bg\x6f"]="\x63\x61\x72\x74";${"G\x4c\x4f\x42\x41L\x53"}["\x74\x6a\x64\x67b\x62\x67\x69"]="\x66\x70";if(version_compare(_PS_VERSION_,"\x31\x2e4","\x3c")){class Shop extends ObjectModel{public$id=1;public$id_shop_group=1;public function __construct(){}public static function getShops(){return array(array("\x69d\x5fsh\x6f\x70"=>1,"na\x6d\x65"=>"\x44e\x66\x61u\x6ct\x20\x73ho\x70"));}public static function getCurrentShop(){return 1;}}class Logger{public static function AddLog($message,$severity=2){$ldpydmwpm="\x73everit\x79";$tlveevlpkrbb="m\x65\x73\x73ag\x65";${${"\x47LO\x42A\x4c\x53"}["\x74\x6a\x64g\x62\x62\x67i"]}=fopen(dirname(__FILE__)."/../l\x6fg\x73\x2e\x74\x78\x74","\x61+");fwrite(${${"\x47L\x4f\x42ALS"}["\x74\x6ad\x67\x62bg\x69"]},"[".(int)${$ldpydmwpm}."]\x20".Tools::safeOutput(${$tlveevlpkrbb}));fclose(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x74\x6a\x64g\x62\x62gi"]});}}}class MojomexicoConnect{protected static$instance;public$cart;public$customer;public$cookie;public$link;public$country;public$employee;public$controller;public$language;public$currency;public$tab;public$shop;public$smarty;public function __construct(){$aeowlkoluc="\x63\x6f\x6f\x6bie";global$cookie,$cart,$smarty,$link;$this->tab=null;$this->cookie=${$aeowlkoluc};$this->cart=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["d\x79\x6am\x74k\x67\x6f"]};$this->smarty=${${"\x47L\x4fB\x41\x4c\x53"}["\x6f\x72\x76e\x69\x6dy\x67"]};$this->link=${${"\x47L\x4f\x42\x41\x4c\x53"}["g\x70\x6c\x7ad\x79b"]};$this->controller=new MojomexicoControllerBackwardModule();if(is_object(${${"\x47\x4c\x4fBA\x4c\x53"}["r\x74\x68\x6a\x6epg\x63"]})){$this->currency=new Currency((int)$cookie->id_currency);$this->language=new Language((int)$cookie->id_lang);$this->country=new Country((int)$cookie->id_country);$this->customer=new MojomexicoCustomerBackwardModule((int)$cookie->id_customer);$this->employee=new Employee((int)$cookie->id_employee);}else{$this->currency=null;$this->language=null;$this->country=null;$this->customer=null;$this->employee=null;}$this->shop=new MojomexicoShopBackwardModule();}public static function getContext(){${"GL\x4f\x42A\x4c\x53"}["\x62\x7a\x68u\x70\x72\x6d\x78\x62d"]="\x69\x6e\x73tanc\x65";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x63zr\x66h\x70q\x7a\x6a\x6e"]="in\x73t\x61\x6e\x63\x65";$dhtjwulujmd="\x69ns\x74\x61\x6e\x63e";if(!isset(self::${$dhtjwulujmd}))self::${${"GL\x4fBA\x4c\x53"}["\x63\x7arfh\x70\x71z\x6a\x6e"]}=new MojomexicoConnect();return self::${${"\x47\x4cO\x42AL\x53"}["\x62\x7a\x68\x75\x70r\x6dxbd"]};}public function cloneContext(){return clone($this);}public static function shop(){if(!self::$instance->shop->getContextType())return MojomexicoShopBackwardModule::CONTEXT_ALL;return self::$instance->shop->getContextType();}}class MojomexicoShopBackwardModule extends Shop{const CONTEXT_ALL=1;public$id=1;public$id_shop_group=1;public function getContextType(){return MojomexicoShopBackwardModule::CONTEXT_ALL;}public function getID(){return 1;}public function getTheme(){return _THEME_NAME_;}}class MojomexicoControllerBackwardModule{public function addJS($js_uri){Tools::addJS(${${"G\x4c\x4f\x42\x41\x4cS"}["\x6cq\x6bqh\x63\x6e\x62p"]});}public function addCSS($css_uri,$css_media_type='all'){Tools::addCSS(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x68\x70y\x78iz"]},${${"\x47L\x4f\x42\x41\x4cS"}["\x64\x63\x65mjy"]});}public function addJquery(){if(_PS_VERSION_<"\x31\x2e\x35")$this->addJS(_PS_JS_DIR_."j\x71u\x65\x72\x79/j\x71uer\x79-\x31.4.\x34\x2em\x69\x6e\x2e\x6a\x73");elseif(_PS_VERSION_>="\x31.\x35")$this->addJS(_PS_JS_DIR_."\x6aque\x72\x79/\x6a\x71\x75ery-\x31\x2e7.2\x2emi\x6e\x2ej\x73");}}class MojomexicoCustomerBackwardModule extends Customer{public$logged=false;public function __construct(){global$cookie;$this->logged=$cookie->isLogged();}public function isLogged($with_guest=false){${"\x47\x4cO\x42AL\x53"}["\x71cba\x6f\x6c\x6fhnn"]="\x77\x69t\x68_g\x75\x65\x73t";global$cookie;if(!${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x63\x62\x61\x6f\x6c\x6f\x68\x6e\x6e"]}&&$this->is_guest==1)return false;if($cookie->isLogged()==1&&$this->id&&Validate::isUnsignedId($this->id)&&Customer::checkPassword($this->id,$this->passwd))return true;return false;}}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'dcemjy', 'value': 'css_media_type'}, {'key': 'hpyxiz', 'value': 'css_uri'}, {'key': 'lqkqhcnbp', 'value': 'js_uri'}, {'key': 'rthjnpgc', 'value': 'cookie'}, {'key': 'gplzdyb', 'value': 'link'}, {'key': 'orveimyg', 'value': 'smarty'}, {'key': 'dyjmtkgo', 'value': 'cart'}, {'key': 'tjdgbbgi', 'value': 'fp'}]

Stats

MD5 825d3051561a0e05eb4ab347f584b90e
Eval Count 0
Decode Time 121 ms