Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
${"G\x4c\x4f\x42\x41\x4cS"}["\x77od\x6b\x6bi\x6a\x7a\x65u\x72"]="sC\x6f\x6e\x74\x65\x6e\x7..
Decoded Output download
<? ${"GLOBALS"}["wodkkijzeur"]="sContent";${"GLOBALS"}["sgghtpoise"]="iController";${"GLOBALS"}["iqbesatt"]="sModuleName";${"GLOBALS"}["dvmesusnhjok"]="sPageName";${"GLOBALS"}["rxcdacfge"]="s404";${"GLOBALS"}["whwcyrceuph"]="iLink";class SoracaisseSoracaisseviewModuleFrontController extends ModuleFrontController{public$ssl=true;public$display_column_left=false;public$display_column_right=false;public function __construct(){$this->auth=false;parent::__construct();$this->context=Context::getContext();$this->moduleInstance=Module::getInstanceByName("soracaisse");}public function initContent(){parent::initContent();if($this->moduleInstance->validateToken(Tools::getValue("sctoken"))&&(Tools::getValue("mode")=="autopatcher"||Tools::getValue("mode")=="autounlocker")&&strtolower(Tools::getValue("display_page"))=="scautoupgrade"){$this->loadAutoUpgrader();die();}elseif(Tools::getValue("addon")){$this->content.=$this->loadaddon();}else{$pnjcicf="s404";${"GLOBALS"}["jhkhwe"]="iLink";header("HTTP/1.0 404 Not Found");${${"GLOBALS"}["whwcyrceuph"]}=new Link();${$pnjcicf}=$iLink->getPageLink("404");unset(${${"GLOBALS"}["jhkhwe"]});Tools::redirect(${${"GLOBALS"}["rxcdacfge"]});}}private function loadAutoUpgrader(){${${"GLOBALS"}["dvmesusnhjok"]}=Tools::getValue("display_page");try{$uwaxsdfn="sPageName";if(empty(${$uwaxsdfn})){throw new ScException(sprintf($this->moduleInstance->l("Variable %s is empty or not initialized"),"\$display_page"));}if(!@file_exists(_PS_MODULE_DIR_."soracaisse/autoupgrade/autoupgrade.php")){throw new ScException(sprintf($this->moduleInstance->l("file %s does not exist"),"autoupgrade.php"));}include_once(_PS_MODULE_DIR_."soracaisse/autoupgrade/autoupgrade.php");exit;}catch(ScException$e){echo$e->Message();return false;}}public function loadaddon(){${"GLOBALS"}["niuifzufzulk"]="sPageName";if(!ScTools::isEnabled("soracaisse")){die(ScTools::getError($this->l("Sora Caisse is disabled on this shop")));}${${"GLOBALS"}["niuifzufzulk"]}=Tools::getValue("display_page");${${"GLOBALS"}["iqbesatt"]}=Tools::getValue("addon");try{${"GLOBALS"}["rvsiqvgk"]="sPageName";${"GLOBALS"}["aivdjmqf"]="iController";if(empty(${${"GLOBALS"}["rvsiqvgk"]})){throw new ScException(sprintf($this->l("Variable %s is empty or not initialized"),"\$display_page"));}${"GLOBALS"}["wdcmgqe"]="sPageName";${"GLOBALS"}["ffuicte"]="sModuleName";if(empty(${${"GLOBALS"}["ffuicte"]})){throw new ScException(sprintf($this->l("Variable %s is empty or not initialized"),"\$sModuleName"));}$ncxmmwyorrum="sPageName";${${"GLOBALS"}["dvmesusnhjok"]}="Sc".${$ncxmmwyorrum}."Controller";if(!@file_exists(_PS_MODULE_DIR_.${${"GLOBALS"}["iqbesatt"]}."/view/".${${"GLOBALS"}["wdcmgqe"]}.".php")){throw new ScException(sprintf($this->l("file for module %s does not exist"),${${"GLOBALS"}["dvmesusnhjok"]}));}include_once(_PS_MODULE_DIR_.${${"GLOBALS"}["iqbesatt"]}."/view/".${${"GLOBALS"}["dvmesusnhjok"]}.".php");$dlwbtssvrrl="sPageName";${${"GLOBALS"}["sgghtpoise"]}=new${$dlwbtssvrrl}();${${"GLOBALS"}["wodkkijzeur"]}=$iController->getContent();unset(${${"GLOBALS"}["aivdjmqf"]});return${${"GLOBALS"}["wodkkijzeur"]};}catch(ScException$e){echo$e->Message();return false;}}}
?>
Did this file decode correctly?
Original Code
${"G\x4c\x4f\x42\x41\x4cS"}["\x77od\x6b\x6bi\x6a\x7a\x65u\x72"]="sC\x6f\x6e\x74\x65\x6e\x74";${"\x47LOB\x41L\x53"}["\x73gg\x68\x74\x70o\x69\x73\x65"]="\x69\x43\x6f\x6et\x72\x6fl\x6c\x65\x72";${"G\x4c\x4fB\x41\x4c\x53"}["\x69qbe\x73a\x74\x74"]="\x73\x4d\x6fd\x75l\x65Nam\x65";${"\x47L\x4f\x42AL\x53"}["\x64v\x6d\x65s\x75s\x6e\x68\x6ao\x6b"]="sP\x61\x67eNa\x6d\x65";${"\x47\x4cOB\x41LS"}["\x72\x78\x63\x64\x61\x63\x66\x67\x65"]="\x73\x34\x30\x34";${"GLO\x42\x41\x4c\x53"}["wh\x77cyr\x63\x65\x75\x70\x68"]="\x69\x4ci\x6e\x6b";class SoracaisseSoracaisseviewModuleFrontController extends ModuleFrontController{public$ssl=true;public$display_column_left=false;public$display_column_right=false;public function __construct(){$this->auth=false;parent::__construct();$this->context=Context::getContext();$this->moduleInstance=Module::getInstanceByName("\x73o\x72\x61\x63\x61\x69ss\x65");}public function initContent(){parent::initContent();if($this->moduleInstance->validateToken(Tools::getValue("s\x63tok\x65\x6e"))&&(Tools::getValue("m\x6f\x64\x65")=="autopatcher"||Tools::getValue("\x6do\x64\x65")=="\x61u\x74\x6f\x75nlocke\x72")&&strtolower(Tools::getValue("dis\x70\x6c\x61\x79_\x70\x61g\x65"))=="\x73c\x61u\x74o\x75pg\x72\x61d\x65"){$this->loadAutoUpgrader();die();}elseif(Tools::getValue("\x61\x64d\x6f\x6e")){$this->content.=$this->loadaddon();}else{$pnjcicf="s40\x34";${"G\x4c\x4fBA\x4cS"}["\x6ah\x6b\x68\x77\x65"]="i\x4c\x69n\x6b";header("\x48\x54TP/1\x2e0 404\x20No\x74\x20Foun\x64");${${"\x47\x4cO\x42\x41LS"}["\x77\x68wc\x79r\x63\x65u\x70h"]}=new Link();${$pnjcicf}=$iLink->getPageLink("\x3404");unset(${${"\x47\x4c\x4fBA\x4c\x53"}["j\x68\x6b\x68\x77\x65"]});Tools::redirect(${${"GL\x4f\x42\x41\x4c\x53"}["\x72x\x63\x64\x61c\x66\x67\x65"]});}}private function loadAutoUpgrader(){${${"\x47\x4c\x4f\x42AL\x53"}["\x64\x76me\x73usn\x68\x6a\x6fk"]}=Tools::getValue("displa\x79_p\x61ge");try{$uwaxsdfn="\x73\x50\x61\x67\x65\x4e\x61me";if(empty(${$uwaxsdfn})){throw new ScException(sprintf($this->moduleInstance->l("V\x61ria\x62\x6c\x65\x20%s \x69\x73 e\x6d\x70\x74\x79\x20\x6fr\x20no\x74 \x69niti\x61\x6ci\x7a\x65\x64"),"\$\x64\x69s\x70la\x79_\x70\x61\x67e"));}if(!@file_exists(_PS_MODULE_DIR_."so\x72aca\x69s\x73\x65/a\x75\x74o\x75\x70\x67ra\x64e/a\x75\x74o\x75\x70\x67r\x61\x64e\x2ep\x68p")){throw new ScException(sprintf($this->moduleInstance->l("\x66il\x65\x20\x25s \x64\x6fes\x20n\x6f\x74\x20ex\x69\x73\x74"),"\x61u\x74\x6f\x75p\x67\x72ad\x65.\x70\x68p"));}include_once(_PS_MODULE_DIR_."s\x6fr\x61\x63\x61i\x73s\x65/\x61\x75t\x6f\x75\x70\x67r\x61\x64\x65/\x61u\x74\x6f\x75\x70\x67r\x61\x64\x65\x2ep\x68p");exit;}catch(ScException$e){echo$e->Message();return false;}}public function loadaddon(){${"\x47L\x4f\x42\x41\x4c\x53"}["\x6eiu\x69\x66zu\x66\x7a\x75\x6c\x6b"]="\x73P\x61\x67\x65\x4e\x61\x6de";if(!ScTools::isEnabled("so\x72ac\x61\x69sse")){die(ScTools::getError($this->l("\x53o\x72\x61\x20\x43a\x69\x73se\x20\x69s\x20\x64\x69s\x61b\x6ced o\x6e\x20t\x68\x69s \x73\x68op")));}${${"\x47L\x4f\x42A\x4cS"}["\x6ei\x75i\x66\x7a\x75\x66\x7a\x75\x6c\x6b"]}=Tools::getValue("d\x69s\x70la\x79\x5fpage");${${"GL\x4f\x42A\x4c\x53"}["\x69q\x62\x65s\x61\x74\x74"]}=Tools::getValue("\x61\x64d\x6f\x6e");try{${"G\x4cO\x42\x41LS"}["rvs\x69\x71\x76g\x6b"]="\x73\x50a\x67eN\x61\x6de";${"\x47L\x4fB\x41\x4c\x53"}["\x61i\x76\x64\x6a\x6d\x71\x66"]="\x69Co\x6e\x74ro\x6c\x6cer";if(empty(${${"GL\x4f\x42A\x4c\x53"}["\x72\x76\x73i\x71\x76g\x6b"]})){throw new ScException(sprintf($this->l("\x56ari\x61\x62le %\x73\x20\x69s emp\x74\x79\x20\x6fr not\x20i\x6eit\x69a\x6cize\x64"),"\$d\x69\x73\x70la\x79_page"));}${"\x47L\x4f\x42\x41L\x53"}["\x77\x64c\x6d\x67qe"]="\x73\x50\x61geN\x61\x6d\x65";${"\x47L\x4f\x42\x41L\x53"}["\x66\x66\x75\x69c\x74e"]="\x73\x4d\x6f\x64\x75\x6ce\x4e\x61\x6d\x65";if(empty(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x66\x66\x75\x69\x63\x74e"]})){throw new ScException(sprintf($this->l("Va\x72\x69\x61ble\x20%s\x20\x69\x73\x20\x65\x6d\x70\x74\x79 \x6fr\x20not i\x6e\x69\x74\x69\x61l\x69ze\x64"),"\$\x73\x4d\x6f\x64uleNam\x65"));}$ncxmmwyorrum="\x73\x50\x61\x67eNa\x6d\x65";${${"G\x4c\x4fB\x41L\x53"}["dv\x6d\x65s\x75\x73\x6e\x68j\x6f\x6b"]}="S\x63".${$ncxmmwyorrum}."\x43\x6f\x6e\x74\x72oll\x65r";if(!@file_exists(_PS_MODULE_DIR_.${${"G\x4c\x4f\x42A\x4c\x53"}["i\x71\x62es\x61\x74\x74"]}."/vi\x65\x77/".${${"G\x4c\x4f\x42\x41LS"}["wdc\x6d\x67\x71\x65"]}."\x2e\x70hp")){throw new ScException(sprintf($this->l("f\x69\x6ce \x66\x6f\x72 \x6d\x6fdul\x65\x20%\x73 do\x65s\x20no\x74\x20\x65xi\x73t"),${${"\x47\x4cO\x42\x41\x4c\x53"}["\x64\x76\x6de\x73u\x73\x6eh\x6a\x6fk"]}));}include_once(_PS_MODULE_DIR_.${${"\x47\x4c\x4fB\x41L\x53"}["iqbe\x73a\x74\x74"]}."/\x76iew/".${${"\x47L\x4f\x42\x41\x4c\x53"}["\x64\x76\x6d\x65\x73\x75\x73nh\x6a\x6f\x6b"]}.".p\x68\x70");$dlwbtssvrrl="s\x50\x61ge\x4e\x61\x6de";${${"\x47L\x4f\x42A\x4c\x53"}["s\x67\x67\x68t\x70o\x69\x73e"]}=new${$dlwbtssvrrl}();${${"G\x4c\x4fB\x41\x4c\x53"}["\x77\x6f\x64k\x6b\x69\x6a\x7ae\x75\x72"]}=$iController->getContent();unset(${${"G\x4c\x4f\x42\x41L\x53"}["\x61iv\x64\x6a\x6d\x71\x66"]});return${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["wo\x64k\x6b\x69j\x7a\x65\x75\x72"]};}catch(ScException$e){echo$e->Message();return false;}}}
Function Calls
| None |
Stats
| MD5 | f991496a76fd7b97dbe981440f313da8 |
| Eval Count | 0 |
| Decode Time | 112 ms |