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 ${"\x47\x4c\x4f\x42\x41LS"}["\x73\x6c\x6dt\x71\x6c\x75s"]="q\x75e\x72y";${"\x47L\x4f..

Decoded Output download

<?php ${"GLOBALS"}["slmtqlus"]="query";${"GLOBALS"}["grmkwua"]="sSql";${"GLOBALS"}["ipgemebqygs"]="v";${"GLOBALS"}["lygvm\ 
x6au"]="Version";${"GLOBALS"}["mjhuorr"]="UpdFile";${"GLOBALS"}["esrcvlbx"]="UpSQL";${"GLOBALS"}["vguligkioc"]="mReturn 
";${"GLOBALS"}["ipgobclfmwl"]="streamContext";${"GLOBALS"}["vnzhofbszmm"]="sLineEnding";${"GLOBALS"}["bfbwnvvsz\x 
70m"]="sContent";${"GLOBALS"}["rixqjrxemeo"]="aTuple";${"GLOBALS"}["wxhetmmuybvs"]="sFieldType";${"GLOBALS"}["gdj\x7 
1ckmw"]="key";${"GLOBALS"}["gsywtbvi"]="sInsert";${"GLOBALS"}["tiqpbvv"]="aTxtType";${"GLOBALS"}["gtlwqrlawqq"]="sTable";${"GL\x 
4fBALS"}["dkmbgdi"]="aCreateTable";${"GLOBALS"}["wudibcmuv"]="aCreateTableList";${"GLOBALS"}["qmpmuloumfj"]="sCreateTable" 
;${"GLOBALS"}["wkimgwicejvq"]="sFileURI";${"GLOBALS"}["xskodvhpygs"]="sHeader";${"GLOBALS"}["kvfgjjapy"]="SQLDataDump"; 
${"GLOBALS"}["yyrlcgtnelzv"]="sFilename";${"GLOBALS"}["qqrlnpbcl"]="SQLTableDump";${"GLOBALS"}["jbiziplqkfve"]="SQLHeader\ 
x44ump";${"GLOBALS"}["uttrwpu"]="aTable";${"GLOBALS"}["kjsjzvgtjcj"]="aShowTables";${"GLOBALS"}["gfhhgatsgy"]="sDataBase\x 
44ir";${"GLOBALS"}["ktytnrsyv"]="iMysqli";${"GLOBALS"}["wvpmqnvjend"]="dir";${"GLOBALS"}["wkoaexuvbfi"]="dst";${"GLOBALS"}["knexdd\ 
x79de"]="src";${"GLOBALS"}["qpvgeklise"]="sTmpDir";${"GLOBALS"}["jyfpqvde"]="sModuleDir";${"GLOBALS"}["orkokwd"]="sFol\ 
x64er";${"GLOBALS"}["txwwvaioulo"]="oldZip";${"GLOBALS"}["mzpxjeav"]="aResults";${"GLOBALS"}["vjrwpwgddbq"]="path";${"GLOBA\x 
4cS"}["fxqnttjkmzxi"]="file";${"GLOBALS"}["uonbzifnyd"]="files";${"GLOBALS"}["oitkkdtu"]="sTarget";${"GLOBALS"}["xfnnvxw"]="s\x4 
1rchiveName";${"GLOBALS"}["eonfltgzakf"]="sDir";${"GLOBALS"}["qdhmprangsc"]="i";${"GLOBALS"}["hitatsi"]="aTargetFiles";${"GL\ 
x4fBALS"}["xqeqhbrfj"]="dumpFiles";${"GLOBALS"}["rgzlmxgdf"]="dumpSQL";${"GLOBALS"}["kttevzdflvb"]="sVersion";${"GLOBALS"}["w\x7 
2uers"]="updConnector";${"GLOBALS"}["nuthobfio"]="sAncre";${"GLOBALS"}["hpfjpfdxdxn"]="upgdProcess";${"GLOBALS"}["qndctgtv 
"]="sPost";class AdminCeosAutoUpgradeController extends ModuleAdminController{public function __construct(){parent::__construct();}public function renderList(){if(Tools::getValue("version")&&Tools::getValue("lastversion")){${"GLOB 
ALS"}["tbdjcrumxvtd"]="upgdProcess";${${"GLOBALS"}["tbdjcrumxvtd"]}=$this->upgradeCeos(Tools::getValue("version"),Tools::getValue("lastversion"));${${"GLOBA\x 
4cS"}["qndctgtv"]}="&fceos_inventory=6";if(${${"GLOBALS"}["hpfjpfdxdxn"]}!==true){$jxjtanszw="upgdProcess";${"GLOBALS"}["klqcsyiofsd"]="sPost";${${"G\x4 
cOBALS"}["klqcsyiofsd"]}="&fceos_inventory=".(int)${$jxjtanszw};}$ydgketldalo="sPost";if(_PS_VERSION_==1.5){${${"GLOBALS"}["nuthobfio"]}="&anchor=anchor".ucfirst("c 
eos_inventory");}elseif(_PS_VERSION_>=1.6){${${"GLOBALS"}["nuthobfio"]}="&anchor=".ucfirst("ceos_inventory");}return"<script>window.parent.location = 
 \"".$this->context->link->getAdminLink("AdminModules")."&tab_module=shipping_logistics&module_name=ceos_inventory".${$ydgketldalo}.${${"GLOBALS"}["nuthobfio"]}."\";</ 
script>";}}public function upgradeCeos($sVersion,$sLastVersion){${"GLOBALS"}["skgrjf"]="sVersion";${"GLOBALS"}["nnxqvuhv"]="mSave";$ypuxlsipd="mSave";${${"GLOBALS"}["n\x6 
exqvuhv"]}=$this->saveModule(${${"GLOBALS"}["skgrjf"]});if(${$ypuxlsipd}===true){${"GLOBALS"}["qustyoqbe"]="updConnector";$ckejyihxeoi="sLastVersion";${${"GLOB\x 
41LS"}["wruers"]}=$this->updateModule(${${"GLOBALS"}["kttevzdflvb"]},${$ckejyihxeoi});if(${${"GLOBALS"}["qustyoqbe"]}!==true){return${${"GLOBALS"}["wruers"]};}@u 
nlink(_PS_MODULE_DIR_."ceos_inventory/autoupgrade/data.dat");@unlink(_PS_MODULE_DIR_."ceos_inventory/autoupgrade/news.xml");return true;}else{return 5;}return"noup\ 
x64ateavailable";}private function saveModule($sVersion){$pbrelx="dumpSQL";${${"GLOBALS"}["rgzlmxgdf"]}=$this->dumpSQL();if(${$pbrelx}===true){$xurrqtrrb="dumpFiles";${"GLOBALS"}["hcw\x 
66lxtuz"]="dumpFiles";$this->cleanOldArchive();${${"GLOBALS"}["hcwflxtuz"]}=$this->dumpFiles(${${"GLOBALS"}["kttevzdflvb"]});if(${$xurrqtrrb}===true){if(file_exists(_PS_MODULE_DIR_."ceos_inv\ 
x65ntory".DIRECTORY_SEPARATOR."save-sql".DIRECTORY_SEPARATOR)){$this->deleteFolder("save-sql");}}else{return${${"GLOBALS"}["xqeqhbrfj"]};}return true;}return${${"GLOBALS"}["rgzlmxgdf"]};}private function 
 dumpFiles($sVersion){$yufnmlotg="sDir";$wbrpovtsliw="sVersion";${"GLOBALS"}["dbrvpofyyrar"]="sDir";${"GLOBALS"}["sysqvlrn"]="sArchiveName";${"GLOBAL\x5 
3"}["flvdtrp"]="sTarget";$fviyarffuie="sDir";${$yufnmlotg}=_PS_MODULE_DIR_."ceos_inventory".DIRECTORY_SEPARATOR;${${"GLOBALS"}["flvdtrp"]}=${${"GLOBALS"}["dbrvpof\x 
79yrar"]};${${"GLOBALS"}["sysqvlrn"]}="ceos_inventory-".${$wbrpovtsliw}."-save";if(is_dir(${$fviyarffuie})){$lwpkdrojly="sArchiveName";$hzzkge="sArchiveNam 
e";if(class_exists("ZipArchive",false)){${"GLOBALS"}["gqkntqg"]="iZip";${${"GLOBALS"}["gqkntqg"]}=new ZipArchive();${"GLOBALS"}["bbgsaxg"]="sArchive\ 
x4eame";${"GLOBALS"}["dmvylgjdf"]="sDir";$swhkclunxlf="aTargetFiles";$iZip->open(${${"GLOBALS"}["bbgsaxg"]},ZipArchive::CREATE);${${"GLOBALS"}["hitatsi"]}=array_revers 
e($this->getDirContents(${${"GLOBALS"}["dmvylgjdf"]}));${"GLOBALS"}["mymdtyygc"]="i";for(${${"GLOBALS"}["mymdtyygc"]}=0;${${"GLOBALS"}["qdhmpra 
ngsc"]}<count(${$swhkclunxlf});${${"GLOBALS"}["qdhmprangsc"]}++){$xkwtyb="sFolderURI";$clssrk="sArchiveName";$pmvjjju="aTargetFiles";${"GLOBALS"}["\x 
6bmoldmx"]="i";${$xkwtyb}=${$clssrk}.DIRECTORY_SEPARATOR.str_replace(${${"GLOBALS"}["eonfltgzakf"]},"",${$pmvjjju}[${${"GLOBALS"}["kmoldmx"]}]);if(is_dir(${${"GLOBALS"}["hitats 
i"]}[${${"GLOBALS"}["qdhmprangsc"]}])){${"GLOBALS"}["qodxvkjjy"]="sFolderURI";$iZip->addEmptyDir(${${"GLOBALS"}["qodxvkjjy"]});}else{$sdzbmmacesr="\x 
73FolderURI";${"GLOBALS"}["rulphjvqbjn"]="aTargetFiles";$iZip->addFile(${${"GLOBALS"}["rulphjvqbjn"]}[${${"GLOBALS"}["qdhmpra 
ngsc"]}],${$sdzbmmacesr});}}$iZip->close();}else{require_once(${${"GLOBALS"}["eonfltgzakf"]}."tools".DIRECTORY_SEPARATOR."pclzip".DIRECTORY_SEPARATOR."pclzip.lib.php");${"GLOBALS"}[" 
nhrpltkm"]="sDir";$bvyfxpyh="sArchiveName";$qbnlzqnuf="i";$fenaplxy="iZip";${$fenaplxy}=new PclZip(${$bvyfxpyh});${${"GLOBALS"}["hitatsi"]}=array_reverse($this->getDirContents(${${"GLOBALS"}[ 
"nhrpltkm"]}));for(${${"GLOBALS"}["qdhmprangsc"]}=0;${$qbnlzqnuf}<count(${${"GLOBALS"}["hitatsi"]});${${"GLOBALS"}["qdhmprangsc"]}++){${"GLOBALS"}["hth\ 
x7abpihcgp"]="aTargetFiles";if(!is_dir(${${"GLOBALS"}["hthzbpihcgp"]}[${${"GLOBALS"}["qdhmprangsc"]}])){$doduilf="sDir";$svakfs="i";$iZip->add(${${"G 
LOBALS"}["hitatsi"]}[${$svakfs}],PCLZIP_OPT_REMOVE_PATH,${$doduilf},PCLZIP_OPT_ADD_PATH,${${"GLOBALS"}["xfnnvxw"]});}}$iZip->privCloseFd();}if(rename(${$lwpkdrojly},${${"GLOBALS"}["oitkkdt\x7 
5"]}.${$hzzkge}.".zip")){return true;}}else{return 5;}return 5;}private function getDirContents($sDir,&$aResults=array()){$yiikku="file";${${"GLOBALS"}["uonbzifnyd"]}=scandir(${${"GLOBALS"}["eonfltgz\ 
x61kf"]});foreach(${${"GLOBALS"}["uonbzifnyd"]} as${$yiikku}){$tnwagu="path";${"GLOBALS"}["edktthtm"]="sDir";${$tnwagu}=realpath(${${"GLOBALS"}["edktthtm"]}.DIRECTO 
RY_SEPARATOR.${${"GLOBALS"}["fxqnttjkmzxi"]});$wqrmtnoirp="path";if(!is_dir(${${"GLOBALS"}["vjrwpwgddbq"]})){${"GLOBALS"}["loquvprrb"]="aResults";${" 
GLOBALS"}["bdruutyqib"]="path";${${"GLOBALS"}["loquvprrb"]}[]=${${"GLOBALS"}["bdruutyqib"]};}elseif(is_dir(${$wqrmtnoirp})&&!in_array(${${"GLOBALS"}["fx\x7 
1nttjkmzxi"]},array(".","..","htaccess"))){$kmqfqwd="aResults";${"GLOBALS"}["gicejczwx"]="path"; ?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4c\x4f\x42\x41LS"}["\x73\x6c\x6dt\x71\x6c\x75s"]="q\x75e\x72y";${"\x47L\x4f\x42\x41L\x53"}["\x67\x72\x6d\x6b\x77\x75\x61"]="\x73\x53\x71l";${"GL\x4f\x42A\x4c\x53"}["i\x70\x67\x65\x6deb\x71\x79\x67\x73"]="\x76";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6c\x79\x67\x76\x6d\
x6a\x75"]="Ve\x72s\x69\x6f\x6e";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x6ah\x75o\x72\x72"]="\x55\x70\x64\x46\x69l\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x73\x72\x63v\x6c\x62x"]="Up\x53\x51\x4c";${"\x47L\x4fBA\x4c\x53"}["vg\x75\x6cig\x6b\x69\x6f\x63"]="m\x52\x65t\x75\x72n
";${"\x47\x4c\x4f\x42\x41LS"}["i\x70go\x62\x63l\x66\x6d\x77l"]="\x73\x74\x72ea\x6d\x43\x6f\x6e\x74\x65xt";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x76\x6e\x7a\x68\x6f\x66b\x73\x7amm"]="\x73\x4c\x69\x6e\x65\x45\x6ed\x69n\x67";${"\x47L\x4f\x42A\x4c\x53"}["\x62\x66b\x77\x6e\x76v\x73\x7a\x
70\x6d"]="s\x43\x6fn\x74\x65\x6e\x74";${"G\x4c\x4fB\x41\x4cS"}["\x72\x69\x78\x71\x6a\x72\x78\x65\x6de\x6f"]="\x61\x54u\x70l\x65";${"\x47\x4c\x4fB\x41\x4cS"}["w\x78h\x65\x74m\x6d\x75\x79\x62\x76\x73"]="\x73\x46\x69e\x6c\x64T\x79\x70\x65";${"G\x4cOB\x41\x4c\x53"}["\x67\x64\x6a\x7
1\x63km\x77"]="ke\x79";${"GLO\x42A\x4c\x53"}["\x67\x73\x79\x77t\x62\x76\x69"]="\x73\x49\x6eser\x74";${"\x47L\x4f\x42A\x4c\x53"}["\x74\x69qp\x62\x76\x76"]="a\x54\x78t\x54\x79\x70\x65";${"GL\x4fB\x41L\x53"}["\x67\x74\x6c\x77\x71\x72l\x61wqq"]="\x73\x54a\x62\x6c\x65";${"\x47\x4c\x
4f\x42\x41LS"}["\x64km\x62\x67d\x69"]="\x61\x43\x72e\x61te\x54a\x62\x6c\x65";${"GL\x4f\x42\x41L\x53"}["w\x75\x64i\x62c\x6duv"]="\x61\x43\x72\x65a\x74\x65\x54a\x62\x6c\x65\x4ci\x73\x74";${"\x47\x4cOB\x41\x4cS"}["\x71mp\x6d\x75\x6coum\x66j"]="\x73C\x72\x65\x61\x74\x65\x54ab\x6ce"
;${"G\x4c\x4f\x42A\x4cS"}["\x77\x6b\x69mg\x77\x69c\x65j\x76\x71"]="\x73Fi\x6c\x65\x55\x52I";${"\x47\x4cO\x42\x41L\x53"}["\x78\x73k\x6f\x64v\x68\x70y\x67\x73"]="sHea\x64\x65\x72";${"\x47L\x4f\x42\x41\x4cS"}["\x6bv\x66\x67\x6aj\x61\x70y"]="\x53\x51\x4c\x44\x61\x74\x61\x44um\x70";
${"\x47\x4c\x4f\x42\x41\x4cS"}["\x79y\x72l\x63\x67\x74\x6e\x65\x6c\x7a\x76"]="s\x46\x69len\x61\x6d\x65";${"\x47L\x4f\x42ALS"}["\x71q\x72\x6cn\x70\x62cl"]="S\x51L\x54\x61\x62le\x44\x75\x6d\x70";${"\x47LO\x42AL\x53"}["j\x62izi\x70\x6cq\x6b\x66\x76\x65"]="\x53Q\x4cH\x65a\x64e\x72\
x44\x75\x6d\x70";${"\x47LOB\x41L\x53"}["\x75\x74\x74r\x77p\x75"]="a\x54\x61\x62\x6c\x65";${"G\x4cOB\x41\x4c\x53"}["\x6b\x6a\x73j\x7av\x67\x74j\x63\x6a"]="\x61S\x68o\x77\x54\x61bl\x65\x73";${"GL\x4f\x42AL\x53"}["\x67\x66h\x68ga\x74\x73\x67\x79"]="\x73\x44a\x74\x61\x42\x61\x73e\x
44\x69\x72";${"GL\x4fBAL\x53"}["\x6b\x74\x79\x74\x6e\x72\x73yv"]="\x69M\x79\x73\x71\x6c\x69";${"GL\x4f\x42\x41\x4c\x53"}["w\x76\x70m\x71nvj\x65\x6ed"]="\x64i\x72";${"\x47LO\x42A\x4cS"}["w\x6b\x6f\x61\x65\x78u\x76b\x66i"]="\x64s\x74";${"\x47\x4cO\x42\x41\x4cS"}["\x6b\x6eexd\x64\
x79\x64\x65"]="\x73\x72\x63";${"\x47\x4cO\x42\x41L\x53"}["\x71p\x76\x67\x65k\x6c\x69se"]="\x73T\x6d\x70D\x69\x72";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6ay\x66\x70\x71\x76\x64\x65"]="\x73M\x6f\x64u\x6ceD\x69\x72";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6fr\x6b\x6f\x6b\x77d"]="sFo\x6c\
x64e\x72";${"\x47\x4c\x4f\x42A\x4c\x53"}["tx\x77wv\x61\x69\x6f\x75\x6c\x6f"]="old\x5a\x69\x70";${"\x47\x4c\x4f\x42ALS"}["\x6d\x7a\x70\x78je\x61v"]="\x61\x52\x65\x73ul\x74\x73";${"\x47\x4c\x4f\x42\x41L\x53"}["\x76\x6a\x72\x77p\x77\x67\x64db\x71"]="\x70at\x68";${"G\x4c\x4fB\x41\x
4c\x53"}["\x66\x78\x71\x6ett\x6a\x6b\x6dzx\x69"]="\x66\x69le";${"\x47L\x4f\x42A\x4c\x53"}["\x75\x6f\x6eb\x7a\x69\x66\x6ey\x64"]="f\x69le\x73";${"GL\x4fB\x41L\x53"}["o\x69\x74\x6b\x6bd\x74u"]="\x73\x54a\x72\x67\x65\x74";${"\x47\x4c\x4fB\x41LS"}["\x78\x66n\x6e\x76\x78\x77"]="s\x4
1r\x63h\x69ve\x4e\x61\x6d\x65";${"\x47\x4c\x4fB\x41L\x53"}["\x65\x6fn\x66l\x74g\x7a\x61\x6b\x66"]="s\x44\x69\x72";${"G\x4c\x4f\x42A\x4cS"}["\x71\x64\x68mp\x72\x61n\x67s\x63"]="\x69";${"G\x4c\x4f\x42A\x4cS"}["hitat\x73i"]="\x61\x54\x61\x72\x67e\x74\x46\x69\x6c\x65s";${"\x47\x4c\
x4fB\x41LS"}["x\x71\x65\x71\x68\x62\x72\x66\x6a"]="d\x75\x6dpF\x69\x6c\x65s";${"\x47\x4c\x4fBA\x4cS"}["\x72g\x7a\x6c\x6d\x78g\x64f"]="\x64\x75\x6d\x70SQL";${"\x47\x4cO\x42\x41L\x53"}["\x6btte\x76\x7ad\x66\x6cv\x62"]="s\x56\x65r\x73\x69o\x6e";${"\x47\x4c\x4f\x42A\x4cS"}["\x77\x7
2u\x65\x72s"]="u\x70\x64\x43\x6f\x6e\x6e\x65c\x74o\x72";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6eu\x74hobf\x69\x6f"]="s\x41\x6e\x63r\x65";${"\x47LOBA\x4cS"}["\x68\x70\x66\x6a\x70\x66\x64xd\x78\x6e"]="u\x70\x67\x64P\x72\x6fc\x65ss";${"\x47\x4cO\x42AL\x53"}["\x71n\x64\x63\x74\x67\x74v
"]="\x73\x50\x6f\x73t";class AdminCeosAutoUpgradeController extends ModuleAdminController{public function __construct(){parent::__construct();}public function renderList(){if(Tools::getValue("\x76\x65r\x73\x69\x6fn")&&Tools::getValue("last\x76er\x73\x69\x6f\x6e")){${"\x47L\x4fB
\x41\x4c\x53"}["\x74\x62d\x6ac\x72\x75m\x78\x76\x74d"]="\x75p\x67\x64Pr\x6f\x63\x65\x73s";${${"GLOBAL\x53"}["\x74\x62\x64\x6a\x63r\x75\x6dx\x76\x74\x64"]}=$this->upgradeCeos(Tools::getValue("version"),Tools::getValue("\x6ca\x73\x74\x76er\x73\x69\x6f\x6e"));${${"G\x4c\x4f\x42A\x
4c\x53"}["qnd\x63\x74g\x74\x76"]}="&f\x63e\x6fs_in\x76ento\x72\x79=6";if(${${"G\x4cOBA\x4c\x53"}["\x68pfjp\x66d\x78\x64\x78\x6e"]}!==true){$jxjtanszw="\x75\x70\x67d\x50\x72\x6f\x63\x65ss";${"\x47\x4c\x4f\x42A\x4cS"}["\x6b\x6c\x71\x63\x73yiof\x73\x64"]="s\x50\x6f\x73t";${${"G\x4
cO\x42\x41L\x53"}["\x6blq\x63s\x79\x69o\x66\x73\x64"]}="&fc\x65os\x5f\x69\x6eve\x6etor\x79\x3d".(int)${$jxjtanszw};}$ydgketldalo="\x73\x50o\x73\x74";if(_PS_VERSION_==1.5){${${"GL\x4f\x42\x41\x4cS"}["\x6eu\x74\x68\x6fb\x66\x69o"]}="\x26a\x6e\x63hor=\x61nc\x68\x6fr".ucfirst("\x63
e\x6f\x73_\x69\x6e\x76\x65ntor\x79");}elseif(_PS_VERSION_>=1.6){${${"G\x4c\x4f\x42\x41L\x53"}["\x6e\x75t\x68\x6fb\x66\x69\x6f"]}="\x26anchor\x3d".ucfirst("ce\x6fs_in\x76\x65\x6e\x74ory");}return"\x3cs\x63rip\x74\x3ew\x69\x6ed\x6fw\x2epar\x65\x6e\x74\x2eloc\x61\x74\x69on\x20\x3d
\x20\"".$this->context->link->getAdminLink("Ad\x6di\x6eMo\x64ul\x65s")."&ta\x62_m\x6fdule=shi\x70pi\x6eg_logi\x73tics&m\x6f\x64\x75le\x5fn\x61m\x65=\x63e\x6fs\x5f\x69n\x76\x65\x6et\x6fr\x79".${$ydgketldalo}.${${"G\x4c\x4f\x42\x41L\x53"}["\x6eu\x74ho\x62\x66\x69\x6f"]}."\";\x3c/
s\x63ri\x70t>";}}public function upgradeCeos($sVersion,$sLastVersion){${"\x47\x4cOB\x41\x4c\x53"}["s\x6b\x67\x72j\x66"]="\x73\x56\x65\x72\x73ion";${"\x47LO\x42A\x4cS"}["\x6e\x6e\x78\x71\x76u\x68v"]="\x6dS\x61\x76\x65";$ypuxlsipd="\x6d\x53\x61\x76\x65";${${"GLO\x42\x41LS"}["n\x6
exq\x76\x75\x68v"]}=$this->saveModule(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x73kg\x72j\x66"]});if(${$ypuxlsipd}===true){${"GL\x4f\x42\x41\x4cS"}["\x71\x75s\x74y\x6f\x71\x62\x65"]="upd\x43o\x6e\x6e\x65\x63\x74o\x72";$ckejyihxeoi="sL\x61st\x56\x65\x72s\x69\x6fn";${${"\x47\x4c\x4fB\x
41\x4c\x53"}["w\x72\x75er\x73"]}=$this->updateModule(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6b\x74\x74e\x76\x7a\x64\x66l\x76\x62"]},${$ckejyihxeoi});if(${${"\x47\x4cO\x42A\x4c\x53"}["q\x75s\x74yoqb\x65"]}!==true){return${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["wr\x75\x65\x72\x73"]};}@u
nlink(_PS_MODULE_DIR_."c\x65o\x73_in\x76e\x6e\x74\x6f\x72\x79/\x61uto\x75pg\x72\x61\x64\x65/\x64ata.d\x61\x74");@unlink(_PS_MODULE_DIR_."c\x65o\x73_\x69n\x76ent\x6f\x72y/auto\x75\x70\x67r\x61\x64\x65/\x6e\x65\x77\x73.\x78\x6d\x6c");return true;}else{return 5;}return"\x6eo\x75p\
x64at\x65\x61va\x69\x6c\x61ble";}private function saveModule($sVersion){$pbrelx="\x64\x75m\x70\x53\x51L";${${"GL\x4f\x42\x41L\x53"}["\x72\x67\x7a\x6c\x6d\x78\x67df"]}=$this->dumpSQL();if(${$pbrelx}===true){$xurrqtrrb="\x64ump\x46i\x6ce\x73";${"\x47L\x4f\x42AL\x53"}["h\x63\x77\x
66\x6cx\x74\x75\x7a"]="d\x75\x6dp\x46\x69les";$this->cleanOldArchive();${${"G\x4c\x4f\x42A\x4c\x53"}["hc\x77\x66lx\x74\x75z"]}=$this->dumpFiles(${${"\x47\x4cO\x42A\x4c\x53"}["ktt\x65v\x7a\x64\x66lv\x62"]});if(${$xurrqtrrb}===true){if(file_exists(_PS_MODULE_DIR_."\x63eos_in\x76\
x65\x6e\x74ory".DIRECTORY_SEPARATOR."\x73ave-sql".DIRECTORY_SEPARATOR)){$this->deleteFolder("s\x61ve-\x73q\x6c");}}else{return${${"GL\x4f\x42AL\x53"}["x\x71eq\x68\x62\x72\x66\x6a"]};}return true;}return${${"\x47L\x4f\x42\x41LS"}["\x72\x67zl\x6d\x78\x67\x64f"]};}private function
 dumpFiles($sVersion){$yufnmlotg="s\x44ir";$wbrpovtsliw="\x73\x56e\x72\x73i\x6fn";${"\x47\x4cO\x42\x41\x4c\x53"}["\x64\x62\x72\x76p\x6f\x66\x79y\x72\x61r"]="s\x44ir";${"GLO\x42ALS"}["\x73\x79s\x71\x76lr\x6e"]="\x73\x41\x72\x63\x68\x69\x76e\x4e\x61m\x65";${"G\x4c\x4f\x42\x41L\x5
3"}["f\x6c\x76\x64\x74\x72\x70"]="\x73\x54\x61\x72g\x65\x74";$fviyarffuie="\x73\x44\x69r";${$yufnmlotg}=_PS_MODULE_DIR_."\x63e\x6fs\x5fi\x6ev\x65nt\x6f\x72\x79".DIRECTORY_SEPARATOR;${${"G\x4c\x4f\x42\x41\x4cS"}["\x66\x6c\x76\x64\x74rp"]}=${${"\x47\x4cOBALS"}["dbrv\x70\x6f\x66\x
79\x79\x72a\x72"]};${${"\x47LO\x42\x41\x4c\x53"}["\x73y\x73\x71\x76\x6c\x72\x6e"]}="ce\x6fs_i\x6ev\x65\x6e\x74\x6f\x72y-".${$wbrpovtsliw}."-\x73a\x76\x65";if(is_dir(${$fviyarffuie})){$lwpkdrojly="s\x41\x72chi\x76\x65N\x61\x6d\x65";$hzzkge="s\x41\x72\x63\x68i\x76\x65\x4e\x61\x6d
\x65";if(class_exists("Z\x69\x70Ar\x63\x68iv\x65",false)){${"G\x4c\x4f\x42\x41\x4c\x53"}["g\x71\x6b\x6e\x74\x71\x67"]="i\x5aip";${${"\x47L\x4f\x42\x41L\x53"}["\x67q\x6b\x6etq\x67"]}=new ZipArchive();${"GL\x4fB\x41L\x53"}["\x62\x62\x67\x73\x61\x78g"]="\x73\x41r\x63h\x69\x76\x65\
x4e\x61\x6de";${"\x47L\x4f\x42\x41\x4cS"}["\x64m\x76\x79\x6cgj\x64f"]="s\x44\x69\x72";$swhkclunxlf="aT\x61\x72ge\x74Fi\x6c\x65\x73";$iZip->open(${${"\x47\x4cOB\x41\x4c\x53"}["bbgsa\x78\x67"]},ZipArchive::CREATE);${${"GL\x4f\x42\x41\x4cS"}["\x68\x69\x74\x61t\x73i"]}=array_revers
e($this->getDirContents(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x64mvy\x6c\x67\x6a\x64\x66"]}));${"G\x4c\x4f\x42A\x4cS"}["my\x6dd\x74\x79\x79g\x63"]="i";for(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x79\x6ddt\x79\x79\x67c"]}=0;${${"G\x4c\x4f\x42\x41L\x53"}["\x71\x64\x68\x6d\x70\x72a
\x6egs\x63"]}<count(${$swhkclunxlf});${${"\x47\x4cO\x42\x41\x4c\x53"}["qd\x68\x6d\x70ra\x6e\x67\x73\x63"]}++){$xkwtyb="\x73\x46ol\x64\x65rU\x52\x49";$clssrk="\x73A\x72\x63\x68\x69\x76\x65\x4e\x61me";$pmvjjju="a\x54\x61\x72\x67\x65t\x46il\x65\x73";${"\x47\x4c\x4f\x42A\x4cS"}["\x
6b\x6d\x6f\x6c\x64\x6dx"]="i";${$xkwtyb}=${$clssrk}.DIRECTORY_SEPARATOR.str_replace(${${"G\x4c\x4f\x42A\x4c\x53"}["\x65\x6fnf\x6c\x74\x67\x7a\x61kf"]},"",${$pmvjjju}[${${"\x47\x4c\x4f\x42\x41LS"}["k\x6do\x6c\x64mx"]}]);if(is_dir(${${"\x47\x4c\x4fBA\x4c\x53"}["h\x69\x74\x61\x74s
i"]}[${${"GL\x4fB\x41\x4c\x53"}["\x71d\x68\x6dp\x72\x61\x6egs\x63"]}])){${"G\x4c\x4fB\x41L\x53"}["\x71\x6f\x64\x78\x76\x6b\x6aj\x79"]="sF\x6fl\x64\x65\x72UR\x49";$iZip->addEmptyDir(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x71\x6f\x64\x78\x76\x6b\x6a\x6a\x79"]});}else{$sdzbmmacesr="\x
73\x46\x6f\x6c\x64er\x55\x52\x49";${"\x47L\x4fB\x41L\x53"}["r\x75\x6c\x70\x68\x6a\x76\x71b\x6a\x6e"]="\x61T\x61\x72\x67e\x74\x46\x69\x6c\x65s";$iZip->addFile(${${"\x47LO\x42\x41L\x53"}["r\x75l\x70\x68j\x76q\x62\x6a\x6e"]}[${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x71\x64\x68mp\x72\x61
n\x67\x73c"]}],${$sdzbmmacesr});}}$iZip->close();}else{require_once(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x65on\x66\x6c\x74\x67\x7aa\x6bf"]}."\x74\x6fo\x6cs".DIRECTORY_SEPARATOR."\x70\x63l\x7a\x69\x70".DIRECTORY_SEPARATOR."pclz\x69\x70\x2el\x69\x62.php");${"\x47\x4cO\x42A\x4cS"}["
n\x68rp\x6c\x74km"]="\x73Dir";$bvyfxpyh="\x73\x41\x72chi\x76e\x4e\x61\x6de";$qbnlzqnuf="\x69";$fenaplxy="\x69\x5a\x69\x70";${$fenaplxy}=new PclZip(${$bvyfxpyh});${${"GL\x4f\x42\x41\x4cS"}["h\x69\x74\x61\x74\x73i"]}=array_reverse($this->getDirContents(${${"GL\x4f\x42\x41L\x53"}[
"\x6eh\x72\x70\x6ct\x6b\x6d"]}));for(${${"G\x4cO\x42\x41\x4cS"}["q\x64h\x6d\x70\x72an\x67\x73\x63"]}=0;${$qbnlzqnuf}<count(${${"G\x4c\x4fBAL\x53"}["\x68it\x61\x74\x73\x69"]});${${"\x47\x4cO\x42A\x4c\x53"}["q\x64\x68m\x70rangs\x63"]}++){${"\x47\x4c\x4f\x42A\x4c\x53"}["h\x74\x68\
x7a\x62\x70\x69\x68c\x67p"]="\x61T\x61r\x67\x65\x74Fi\x6c\x65\x73";if(!is_dir(${${"\x47\x4cOBALS"}["\x68thz\x62\x70\x69\x68\x63\x67\x70"]}[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["q\x64h\x6dpr\x61\x6e\x67\x73\x63"]}])){$doduilf="\x73\x44\x69\x72";$svakfs="\x69";$iZip->add(${${"\x47
\x4c\x4f\x42\x41\x4cS"}["\x68\x69\x74\x61\x74\x73\x69"]}[${$svakfs}],PCLZIP_OPT_REMOVE_PATH,${$doduilf},PCLZIP_OPT_ADD_PATH,${${"\x47\x4cO\x42A\x4c\x53"}["x\x66n\x6e\x76x\x77"]});}}$iZip->privCloseFd();}if(rename(${$lwpkdrojly},${${"GL\x4fB\x41L\x53"}["oi\x74\x6b\x6b\x64\x74\x7
5"]}.${$hzzkge}.".zip")){return true;}}else{return 5;}return 5;}private function getDirContents($sDir,&$aResults=array()){$yiikku="\x66\x69\x6c\x65";${${"\x47\x4c\x4f\x42\x41\x4cS"}["u\x6f\x6e\x62\x7ai\x66\x6ey\x64"]}=scandir(${${"GL\x4f\x42\x41\x4c\x53"}["e\x6f\x6e\x66lt\x67z\
x61\x6b\x66"]});foreach(${${"G\x4cO\x42AL\x53"}["\x75\x6f\x6e\x62\x7a\x69\x66\x6e\x79\x64"]} as${$yiikku}){$tnwagu="pa\x74h";${"\x47\x4c\x4f\x42A\x4c\x53"}["ed\x6bt\x74\x68t\x6d"]="\x73\x44i\x72";${$tnwagu}=realpath(${${"\x47LO\x42A\x4cS"}["e\x64\x6b\x74\x74\x68t\x6d"]}.DIRECTO
RY_SEPARATOR.${${"GL\x4f\x42\x41L\x53"}["\x66\x78\x71\x6e\x74\x74j\x6bm\x7axi"]});$wqrmtnoirp="pa\x74\x68";if(!is_dir(${${"\x47\x4c\x4f\x42AL\x53"}["v\x6arwp\x77\x67\x64\x64\x62q"]})){${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6co\x71\x75v\x70\x72r\x62"]="\x61\x52e\x73\x75l\x74\x73";${"
\x47\x4cO\x42A\x4c\x53"}["b\x64r\x75\x75\x74yqib"]="pat\x68";${${"\x47LOB\x41\x4c\x53"}["l\x6fq\x75\x76\x70\x72\x72b"]}[]=${${"\x47\x4cO\x42ALS"}["\x62\x64\x72\x75u\x74\x79\x71\x69\x62"]};}elseif(is_dir(${$wqrmtnoirp})&&!in_array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x78\x7
1n\x74\x74j\x6bmz\x78i"]},array("\x2e","..","\x68tacces\x73"))){$kmqfqwd="a\x52\x65s\x75\x6c\x74s";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x67\x69\x63\x65\x6a\x63\x7a\x77\x78"]="\x70\x61t\x68";

Function Calls

None

Variables

None

Stats

MD5 256b76f70264c07c70e0855d6319c6ca
Eval Count 0
Decode Time 207 ms