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 ${"G\x4c\x4fB\x41\x4cS"}["\x73\x6e\x6e\x69m\x66\x64"]="con\x74\x65n\x74";${"\x47\x4c..

Decoded Output download

<?php ${"GLOBALS"}["snnimfd"]="content";${"GLOBALS"}["kiyzsvqvuch"]="suppliers";${"GLOBALS"}["memuhitqccz"]="infoArray";${"GLOBALS"}["nxfhulp"]="infoSet";${"GLOBALS"}["symjfkmcx"]="key";${"GLOBALS"}["obwxof"]="AdminInkPleaseXMLImport";${"GLOBALS"}["iytbnsxr"]="supplierInfo";${"GLOBALS"}["dpogfehoamie"]="idParentTab";${"GLOBALS"}["staiijyts"]="supplierList";${"GLOBALS"}["disgdhmaxi"]="checkedList";${"GLOBALS"}["imipvlqsw"]="supplier";${"GLOBALS"}["evqvtmmx"]="tab";class ultimateXML extends Module{private$_html='';private$_postErrors=array();public function __construct(){$this->name="ultimateXML";$this->tab="migration_tools";$this->version=1.0;$this->author="PrestashopNinja.com";parent::__construct();$this->page=basename(__FILE__,".php");$this->displayName=$this->l("Ultimate XML Importer");$this->description=$this->l("Ultimate XML Importer");}public function install(){if(!parent::install())return FALSE;$this->_adminInstall();return TRUE;}private function _adminInstall($idParentTab=9){${"GLOBALS"}["edqrpucun"]="psVersion";${"GLOBALS"}["gclydihwayv"]="psVersion";${${"GLOBALS"}["edqrpucun"]}=str_replace(".",NULL,_PS_VERSION_);if(${${"GLOBALS"}["gclydihwayv"]}>=1501)${${"GLOBALS"}["dpogfehoamie"]}=17;${${"GLOBALS"}["evqvtmmx"]}=new Tab();$tab->class_name="adminultimatexml";$tab->id_parent=${${"GLOBALS"}["dpogfehoamie"]};$tab->module="ultimateXML";$tab->name[(int)(Configuration::get("PS_LANG_DEFAULT"))]=$this->l("Ultimate XML Importer");return$tab->add();}private function uninstallModuleTab(){$jyykocxsnqis="idTab";${$jyykocxsnqis}=Tab::getIdFromClassName("AdminAlonsoXML");Db::getInstance()->Execute("DELETE FROM "._DB_PREFIX_."tab WHERE id_tab = '$idTab' ");Db::getInstance()->Execute("DELETE FROM "._DB_PREFIX_."tab_lang WHERE id_tab = '$idTab' ");return true;}function uninstall(){if(!parent::uninstall()||!$this->uninstallModuleTab())return FALSE;return TRUE;}public function getContent(){$ekukfvfdzvz="infoArray";${${"GLOBALS"}["snnimfd"]}=NULL;if(Tools::isSubmit("updateConfig")){${"GLOBALS"}["mjufmt"]="content";$ceirzkjldl="key";${"GLOBALS"}["hhhljairorcw"]="infoArray";${${"GLOBALS"}["hhhljairorcw"]}=unserialize(base64_decode(Configuration::get("AdminInkPleaseXMLImport")));$oljrukxp="supplierList";${"GLOBALS"}["smlqxgak"]="infoArray";${${"GLOBALS"}["staiijyts"]}=Tools::getValue("supplier");${${"GLOBALS"}["disgdhmaxi"]}=array();${"GLOBALS"}["dhfhzalb"]="checkedList";foreach(${$oljrukxp} as${$ceirzkjldl}=>${${"GLOBALS"}["imipvlqsw"]}){${${"GLOBALS"}["disgdhmaxi"]}[]=${${"GLOBALS"}["symjfkmcx"]};}${${"GLOBALS"}["memuhitqccz"]}["selectedSuppliers"]=${${"GLOBALS"}["dhfhzalb"]};${${"GLOBALS"}["nxfhulp"]}=base64_encode(serialize(${${"GLOBALS"}["smlqxgak"]}));Configuration::updateValue("AdminInkPleaseXMLImport",${${"GLOBALS"}["nxfhulp"]},TRUE);${${"GLOBALS"}["mjufmt"]}.="<div class=\"conf"><img src="../img/admin/ok2.png" alt=\"">Suppliers updated and the relevant XML feeds will be processed daily by cron.</div>";}@${$ekukfvfdzvz}=unserialize(base64_decode(Configuration::get("AdminInkPleaseXMLImport")));${${"GLOBALS"}["iytbnsxr"]}="<table>";${"GLOBALS"}["gdtswc"]="content";${${"GLOBALS"}["kiyzsvqvuch"]}=Supplier::getSuppliers();foreach(${${"GLOBALS"}["kiyzsvqvuch"]} as${${"GLOBALS"}["imipvlqsw"]}){${"GLOBALS"}["lsdvdlpf"]="infoArray";${${"GLOBALS"}["iytbnsxr"]}.="<tr><td>".${${"GLOBALS"}["imipvlqsw"]}["name"]."</td><td><input type="checkbox\" name=\"supplier[".${${"GLOBALS"}["imipvlqsw"]}["id_supplier"]."]" value=\"1\" ";${"GLOBALS"}["niduppsaj"]="supplierInfo";${"GLOBALS"}["ufhdlexhc"]="supplierInfo";if(isset(${${"GLOBALS"}["lsdvdlpf"]}["selectedSuppliers"])&&in_array(${${"GLOBALS"}["imipvlqsw"]}["id_supplier"],${${"GLOBALS"}["memuhitqccz"]}["selectedSuppliers"]))${${"GLOBALS"}["niduppsaj"]}.=" checked";${${"GLOBALS"}["ufhdlexhc"]}.="/></td></tr>";}${${"GLOBALS"}["iytbnsxr"]}.="<tr><td colspan="2\"><input class="button\" type="submit" name="updateConfig\" value=\"".$this->l("   Update   ")."\" /></td></tr></table>";${${"GLOBALS"}["snnimfd"]}.="<div class=\"warn\">Select dropship suppliers to be added to daily XML product update.</div>
                          <form action="".$_SERVER["REQUEST_URI"]."" method=\"post" id="formStep1\">
                            <fieldset>
                              <legend>".$this->l("Step 1")."</legend>

                              <label>".$this->l("Supplier:")."</label>

                              <div class=\"margin-form\">".${${"GLOBALS"}["iytbnsxr"]}."
                              </div>
                              <div class="clear center\">
                                <p>&nbsp;</p>
                                
                              </div>
                            </fieldset>
                          </form>";return"Configuration is done in the administration page.";return${${"GLOBALS"}["gdtswc"]};}public function cronJob(){require_once("../modules/genericimport/AdminGenericimport.php");${${"GLOBALS"}["obwxof"]}=new AdminInkPleaseXMLImport();$AdminInkPleaseXMLImport->runCron();}} 
?>

Did this file decode correctly?

Original Code

<?php ${"G\x4c\x4fB\x41\x4cS"}["\x73\x6e\x6e\x69m\x66\x64"]="con\x74\x65n\x74";${"\x47\x4c\x4fBA\x4cS"}["\x6bi\x79z\x73\x76q\x76\x75\x63\x68"]="\x73u\x70pl\x69\x65\x72\x73";${"\x47\x4cO\x42\x41LS"}["\x6d\x65mu\x68\x69\x74\x71\x63c\x7a"]="\x69\x6e\x66\x6fAr\x72\x61\x79";${"\x47\x4c\x4f\x42\x41L\x53"}["nx\x66\x68ulp"]="\x69\x6e\x66\x6fS\x65t";${"GL\x4fBALS"}["s\x79\x6d\x6a\x66\x6b\x6d\x63x"]="\x6b\x65\x79";${"\x47\x4cO\x42\x41L\x53"}["ob\x77\x78\x6f\x66"]="\x41d\x6d\x69\x6eI\x6e\x6b\x50\x6c\x65a\x73\x65XML\x49\x6d\x70ort";${"\x47L\x4f\x42\x41\x4c\x53"}["\x69yt\x62ns\x78r"]="s\x75p\x70\x6c\x69\x65r\x49\x6ef\x6f";${"\x47L\x4f\x42\x41L\x53"}["\x64p\x6f\x67feh\x6f\x61\x6di\x65"]="\x69d\x50a\x72en\x74\x54\x61\x62";${"G\x4c\x4f\x42\x41\x4cS"}["s\x74a\x69\x69j\x79t\x73"]="\x73\x75p\x70\x6ci\x65\x72\x4c\x69\x73\x74";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x64\x69\x73g\x64\x68\x6d\x61\x78\x69"]="ch\x65\x63\x6bed\x4c\x69s\x74";${"\x47LO\x42\x41L\x53"}["\x69m\x69\x70\x76lqsw"]="s\x75\x70\x70\x6c\x69\x65\x72";${"G\x4cOB\x41\x4cS"}["ev\x71v\x74m\x6d\x78"]="t\x61\x62";class ultimateXML extends Module{private$_html='';private$_postErrors=array();public function __construct(){$this->name="ul\x74im\x61t\x65X\x4dL";$this->tab="\x6d\x69\x67rat\x69\x6f\x6e_too\x6cs";$this->version=1.0;$this->author="Pr\x65s\x74as\x68\x6f\x70Ni\x6e\x6aa\x2e\x63om";parent::__construct();$this->page=basename(__FILE__,"\x2e\x70h\x70");$this->displayName=$this->l("U\x6ctim\x61\x74e \x58M\x4c\x20Imp\x6f\x72t\x65r");$this->description=$this->l("U\x6c\x74i\x6dat\x65 \x58M\x4c\x20\x49\x6dpor\x74\x65\x72");}public function install(){if(!parent::install())return FALSE;$this->_adminInstall();return TRUE;}private function _adminInstall($idParentTab=9){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x65\x64\x71\x72p\x75c\x75\x6e"]="psVe\x72\x73io\x6e";${"GLO\x42\x41\x4c\x53"}["\x67\x63\x6cy\x64\x69h\x77\x61\x79\x76"]="\x70s\x56\x65\x72s\x69\x6fn";${${"G\x4c\x4f\x42AL\x53"}["e\x64q\x72\x70\x75\x63\x75\x6e"]}=str_replace(".",NULL,_PS_VERSION_);if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x63\x6c\x79\x64\x69h\x77a\x79\x76"]}>=1501)${${"\x47\x4cO\x42\x41\x4c\x53"}["\x64\x70\x6fgfeh\x6f\x61mi\x65"]}=17;${${"\x47\x4cO\x42ALS"}["e\x76\x71vtm\x6dx"]}=new Tab();$tab->class_name="\x61d\x6din\x75l\x74i\x6d\x61te\x78ml";$tab->id_parent=${${"G\x4cO\x42\x41\x4c\x53"}["\x64\x70\x6fg\x66e\x68\x6f\x61\x6d\x69\x65"]};$tab->module="\x75\x6c\x74im\x61\x74\x65XML";$tab->name[(int)(Configuration::get("\x50\x53\x5fLA\x4e\x47\x5fDE\x46\x41\x55\x4c\x54"))]=$this->l("\x55l\x74i\x6d\x61te X\x4d\x4c \x49mp\x6fr\x74\x65r");return$tab->add();}private function uninstallModuleTab(){$jyykocxsnqis="\x69\x64\x54\x61b";${$jyykocxsnqis}=Tab::getIdFromClassName("A\x64m\x69\x6e\x41l\x6f\x6e\x73\x6f\x58M\x4c");Db::getInstance()->Execute("D\x45\x4c\x45\x54E \x46\x52\x4f\x4d\x20"._DB_PREFIX_."\x74\x61\x62\x20\x57HE\x52E\x20\x69\x64\x5f\x74ab \x3d '$idTab\x27 ");Db::getInstance()->Execute("\x44\x45LE\x54E \x46\x52OM "._DB_PREFIX_."t\x61\x62_\x6c\x61\x6eg \x57HE\x52\x45 i\x64\x5ftab\x20\x3d\x20\x27$idTab\x27\x20");return true;}function uninstall(){if(!parent::uninstall()||!$this->uninstallModuleTab())return FALSE;return TRUE;}public function getContent(){$ekukfvfdzvz="\x69\x6e\x66\x6f\x41r\x72a\x79";${${"\x47\x4c\x4fB\x41L\x53"}["\x73\x6e\x6ei\x6d\x66d"]}=NULL;if(Tools::isSubmit("u\x70\x64a\x74\x65C\x6f\x6efig")){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6d\x6au\x66\x6d\x74"]="\x63on\x74ent";$ceirzkjldl="\x6b\x65\x79";${"\x47L\x4fB\x41\x4c\x53"}["\x68\x68\x68\x6c\x6a\x61\x69\x72or\x63\x77"]="\x69\x6ef\x6f\x41\x72\x72\x61\x79";${${"GL\x4f\x42A\x4c\x53"}["\x68h\x68\x6c\x6a\x61i\x72\x6f\x72\x63w"]}=unserialize(base64_decode(Configuration::get("Admin\x49\x6ek\x50l\x65ase\x58\x4dLI\x6d\x70o\x72t")));$oljrukxp="\x73\x75\x70\x70\x6ci\x65\x72\x4ci\x73\x74";${"\x47\x4cO\x42\x41\x4c\x53"}["\x73\x6dlq\x78\x67\x61\x6b"]="\x69n\x66oA\x72ra\x79";${${"\x47LOBAL\x53"}["s\x74\x61\x69\x69j\x79\x74\x73"]}=Tools::getValue("\x73\x75pp\x6cie\x72");${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["d\x69\x73\x67dhm\x61\x78\x69"]}=array();${"\x47\x4c\x4f\x42\x41\x4cS"}["d\x68f\x68\x7a\x61l\x62"]="\x63\x68\x65c\x6b\x65\x64L\x69\x73\x74";foreach(${$oljrukxp} as${$ceirzkjldl}=>${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x69\x6dipv\x6c\x71\x73\x77"]}){${${"GL\x4f\x42\x41\x4cS"}["d\x69sg\x64\x68m\x61\x78\x69"]}[]=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x79\x6d\x6a\x66\x6b\x6d\x63x"]};}${${"\x47\x4c\x4fBA\x4c\x53"}["\x6d\x65\x6du\x68\x69\x74\x71c\x63\x7a"]}["\x73el\x65\x63\x74e\x64Su\x70p\x6cie\x72\x73"]=${${"G\x4c\x4f\x42A\x4c\x53"}["d\x68\x66\x68z\x61l\x62"]};${${"\x47L\x4fB\x41LS"}["n\x78\x66\x68\x75\x6c\x70"]}=base64_encode(serialize(${${"\x47\x4c\x4f\x42\x41LS"}["\x73mlq\x78\x67\x61\x6b"]}));Configuration::updateValue("\x41\x64\x6d\x69\x6e\x49\x6e\x6b\x50leas\x65XM\x4c\x49\x6d\x70or\x74",${${"G\x4cOBA\x4c\x53"}["\x6exfhu\x6c\x70"]},TRUE);${${"\x47\x4c\x4f\x42ALS"}["m\x6a\x75fmt"]}.="<di\x76\x20\x63\x6c\x61ss\x3d\"c\x6f\x6e\x66\x22\x3e\x3c\x69mg \x73r\x63=\x22\x2e\x2e/img/a\x64m\x69\x6e/ok2\x2e\x70ng\x22\x20a\x6ct\x3d\"\x22>\x53u\x70\x70\x6cier\x73 u\x70\x64\x61te\x64\x20\x61nd \x74\x68e\x20\x72\x65l\x65van\x74\x20X\x4d\x4c fe\x65\x64\x73\x20\x77i\x6cl\x20\x62\x65\x20\x70\x72\x6f\x63\x65\x73\x73e\x64\x20da\x69\x6c\x79 by\x20c\x72\x6fn\x2e</\x64iv>";}@${$ekukfvfdzvz}=unserialize(base64_decode(Configuration::get("A\x64m\x69\x6e\x49n\x6bPleas\x65\x58M\x4c\x49\x6d\x70or\x74")));${${"G\x4c\x4fBA\x4c\x53"}["\x69y\x74\x62\x6esxr"]}="\x3ct\x61\x62le\x3e";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["g\x64ts\x77c"]="\x63o\x6e\x74\x65nt";${${"\x47\x4c\x4f\x42A\x4c\x53"}["k\x69\x79\x7a\x73\x76\x71\x76\x75\x63h"]}=Supplier::getSuppliers();foreach(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6b\x69\x79zs\x76\x71v\x75c\x68"]} as${${"GL\x4fBA\x4c\x53"}["\x69\x6di\x70\x76\x6cqs\x77"]}){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6cs\x64\x76\x64\x6c\x70\x66"]="\x69\x6efo\x41\x72ray";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x69y\x74bn\x73\x78\x72"]}.="\x3c\x74\x72\x3e\x3c\x74\x64>".${${"\x47\x4c\x4f\x42\x41\x4cS"}["i\x6dipvl\x71\x73\x77"]}["\x6ea\x6de"]."\x3c/td\x3e\x3c\x74\x64\x3e<\x69n\x70\x75t t\x79\x70\x65=\x22\x63h\x65\x63\x6b\x62\x6fx\" \x6eame=\"suppl\x69e\x72[".${${"\x47\x4c\x4f\x42\x41LS"}["\x69\x6d\x69\x70vlq\x73w"]}["\x69d\x5fsu\x70p\x6c\x69\x65\x72"]."]\x22\x20v\x61\x6c\x75e=\"\x31\"\x20";${"\x47\x4c\x4f\x42\x41L\x53"}["\x6e\x69\x64\x75\x70\x70\x73a\x6a"]="\x73\x75\x70\x70\x6c\x69\x65rI\x6ef\x6f";${"\x47L\x4fBA\x4cS"}["u\x66\x68d\x6c\x65\x78\x68c"]="\x73\x75\x70\x70\x6ci\x65\x72I\x6e\x66\x6f";if(isset(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6csd\x76\x64l\x70\x66"]}["\x73e\x6c\x65\x63t\x65\x64S\x75\x70pl\x69e\x72\x73"])&&in_array(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x69\x6d\x69\x70\x76lq\x73w"]}["\x69d\x5fsuppl\x69er"],${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6d\x65\x6d\x75\x68\x69t\x71c\x63\x7a"]}["\x73e\x6c\x65\x63\x74\x65\x64\x53upp\x6ci\x65rs"]))${${"\x47\x4c\x4f\x42A\x4c\x53"}["n\x69\x64\x75ppsa\x6a"]}.=" \x63hec\x6b\x65\x64";${${"GL\x4f\x42\x41L\x53"}["\x75\x66\x68\x64lex\x68c"]}.="/></\x74d\x3e</t\x72\x3e";}${${"\x47L\x4f\x42\x41\x4cS"}["\x69\x79\x74bn\x73\x78\x72"]}.="<tr\x3e\x3c\x74\x64\x20cols\x70\x61n\x3d\x22\x32\"><i\x6e\x70ut\x20\x63\x6c\x61ss\x3d\x22\x62u\x74\x74on\"\x20\x74yp\x65=\x22\x73\x75\x62mit\x22\x20\x6ea\x6de\x3d\x22\x75p\x64\x61t\x65Confi\x67\" value\x3d\"".$this->l("\x20\x20\x20\x55\x70\x64\x61\x74\x65\x20\x20\x20")."\" />\x3c/td></\x74r\x3e\x3c/tabl\x65\x3e";${${"G\x4c\x4f\x42A\x4cS"}["s\x6e\x6eimf\x64"]}.="\x3cd\x69v\x20c\x6c\x61\x73s\x3d\"wa\x72n\"\x3eSe\x6c\x65c\x74 \x64\x72\x6fpshi\x70\x20\x73up\x70l\x69\x65rs \x74\x6f\x20be a\x64d\x65\x64 t\x6f \x64ai\x6c\x79\x20\x58\x4d\x4c\x20product\x20u\x70\x64\x61t\x65\x2e\x3c/div>\n\x20   \x20\x20 \x20\x20\x20 \x20\x20\x20\x20\x20\x20  \x20 \x20\x20   \x3c\x66\x6f\x72m \x61ct\x69o\x6e=\x22".$_SERVER["R\x45QUE\x53\x54_\x55R\x49"]."\x22 m\x65th\x6fd\x3d\"\x70\x6f\x73t\x22\x20\x69\x64=\x22f\x6fr\x6dStep\x31\">\n\x20\x20 \x20 \x20\x20 \x20 \x20\x20\x20    \x20\x20  \x20\x20 \x20 \x20 <f\x69e\x6cds\x65\x74>\n \x20 \x20   \x20\x20\x20\x20 \x20   \x20  \x20\x20 \x20       <l\x65gend>".$this->l("S\x74\x65\x70\x201")."\x3c/\x6c\x65\x67en\x64>\n\n\x20\x20 \x20\x20 \x20   \x20   \x20\x20 \x20   \x20  \x20\x20   \x20\x3c\x6c\x61\x62\x65l>".$this->l("\x53upp\x6ci\x65\x72:")."\x3c/\x6c\x61be\x6c>\n\n\x20\x20    \x20 \x20   \x20 \x20 \x20\x20  \x20\x20\x20\x20\x20\x20 \x20\x20\x20\x3cd\x69\x76 \x63\x6c\x61\x73\x73\x3d\"m\x61rg\x69\x6e-form\"\x3e".${${"G\x4c\x4f\x42\x41\x4cS"}["i\x79\x74bn\x73\x78\x72"]}."\n \x20\x20 \x20   \x20 \x20  \x20 \x20\x20 \x20    \x20   \x20\x20\x20\x3c/\x64\x69v\x3e\n    \x20\x20   \x20 \x20\x20 \x20    \x20 \x20 \x20\x20 \x20   <di\x76\x20\x63l\x61\x73s=\x22clear\x20ce\x6et\x65r\">\n\x20\x20\x20\x20 \x20 \x20 \x20\x20     \x20\x20 \x20  \x20\x20 \x20\x20\x20\x20\x20\x20 <\x70\x3e&n\x62\x73p;\x3c/p>\n \x20   \x20\x20  \x20\x20 \x20     \x20  \x20   \x20\x20\x20 \x20 \x20\n       \x20 \x20\x20 \x20  \x20\x20\x20  \x20\x20\x20   \x20 \x20\x20\x3c/\x64\x69\x76>\n \x20 \x20\x20   \x20 \x20\x20    \x20\x20\x20\x20\x20  \x20\x20  \x20</\x66\x69\x65ldse\x74>\n\x20\x20\x20  \x20  \x20\x20   \x20 \x20\x20\x20\x20 \x20\x20   \x20</fo\x72m\x3e";return"C\x6f\x6e\x66i\x67ur\x61t\x69on\x20i\x73 do\x6ee\x20\x69\x6e\x20\x74\x68e\x20\x61\x64\x6di\x6eis\x74\x72\x61tion\x20pag\x65\x2e";return${${"\x47\x4c\x4f\x42AL\x53"}["gd\x74\x73wc"]};}public function cronJob(){require_once("../m\x6f\x64ul\x65s/\x67en\x65\x72i\x63\x69\x6dport/\x41\x64\x6d\x69nGen\x65r\x69\x63\x69\x6dport\x2e\x70h\x70");${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6f\x62\x77\x78\x6ff"]}=new AdminInkPleaseXMLImport();$AdminInkPleaseXMLImport->runCron();}}
?>

Function Calls

None

Variables

None

Stats

MD5 c65c87c30ffecec0a3a89ad7452533b5
Eval Count 0
Decode Time 205 ms