Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
foreach(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x78\x6ar\x69\x75\x77"]} as${${"GL\x4fB\x..
Decoded Output download
<? foreach(${${"GLOBALS"}["fxjriuw"]} as${${"GLOBALS"}["zbxyqqbcwek"]}){${"GLOBALS"}["rbfooysxvkg"]="lng";$mpgkvqj="ctxt";$chyofkp="ctxt";${${"GLOBALS"}["ixyuncxi"]}=str_replace("
","",$_POST["form_".${${"GLOBALS"}["rbfooysxvkg"]}["id_lang"]]);${"GLOBALS"}["drmbilrkp"]="frms";${$chyofkp}=str_replace("
","",${$mpgkvqj});${${"GLOBALS"}["ixyuncxi"]}=str_replace(" ","",${${"GLOBALS"}["ixyuncxi"]});${${"GLOBALS"}["drmbilrkp"]}[${${"GLOBALS"}["xevtvgb"]}["id_lang"]]=${${"GLOBALS"}["ixyuncxi"]};}Configuration::updateValue("HOME_MODAL_WIN",${${"GLOBALS"}["eigszu"]},true);$this->_html.="<div class=\"conf confirm"><img src="../img/admin/ok.gif\" alt=\"".$this->l("ok")."" /> ".$this->l("Settings updated")."</div>";}$this->_displayForm();return$this->_html;}public function _displayForm(){$this->__construct();global$cookie;$scyloqdrzyn="iso";${${"GLOBALS"}["qdwmjywboof"]}="";${${"GLOBALS"}["qdwmjywboof"]}.="<img src="../modules/homemodalwindow/logo.gif\" style=\"float:left; margin-right:15px;\"><b>".$this->l("This module shows content by modal window at home page.")."</b><br /><br />";$twkxhnjhg="iso";$rwbxngi="iso";$ibydyzhr="iso";${$twkxhnjhg}=Language::getIsoById((int)($cookie->id_lang));${${"GLOBALS"}["dxxmetx"]}=(file_exists(_PS_ROOT_DIR_."/js/tiny_mce/langs/".${${"GLOBALS"}["ittohv"]}.".js")?${$scyloqdrzyn}:"en");${${"GLOBALS"}["kxcqgmpxuof"]}=dirname($_SERVER["PHP_SELF"]);if(version_compare(_PS_VERSION_,"1.4.0.0")>=0)${${"GLOBALS"}["qdwmjywboof"]}.="
<script type=\"text/javascript\">
var iso = '".(file_exists(_PS_ROOT_DIR_."/js/tiny_mce/langs/".${$rwbxngi}.".js")?${$ibydyzhr}:"en")."' ;
var pathCSS = '"._THEME_CSS_DIR_."' ;
var ad = '".dirname($_SERVER["PHP_SELF"])."' ;
</script>
<script type=\"text/javascript" src=\"".__PS_BASE_URI__."js/tiny_mce/tiny_mce.js"></script>
<script type=\"text/javascript" src=\"".__PS_BASE_URI__."js/tinymce.inc.js"></script>
<script language=\"javascript" type=\"text/javascript">
id_language = Number(".Configuration::Get("PS_LANG_DEFAULT").");
tinySetup();
</script>"; ?>
Did this file decode correctly?
Original Code
foreach(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x78\x6ar\x69\x75\x77"]} as${${"GL\x4fB\x41\x4cS"}["\x7a\x62xy\x71\x71b\x63\x77\x65k"]}){${"\x47\x4cO\x42\x41L\x53"}["\x72b\x66oo\x79\x73\x78v\x6bg"]="\x6cng";$mpgkvqj="\x63\x74xt";$chyofkp="c\x74\x78\x74";${${"\x47L\x4f\x42A\x4c\x53"}["\x69\x78\x79\x75\x6e\x63\x78i"]}=str_replace("\n","",$_POST["f\x6fr\x6d\x5f".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["r\x62\x66\x6foys\x78\x76k\x67"]}["\x69d_l\x61\x6e\x67"]]);${"\x47L\x4f\x42\x41\x4c\x53"}["\x64\x72m\x62\x69\x6c\x72\x6b\x70"]="\x66\x72m\x73";${$chyofkp}=str_replace("\r","",${$mpgkvqj});${${"\x47\x4cO\x42A\x4c\x53"}["i\x78yun\x63\x78i"]}=str_replace("\t","",${${"\x47L\x4fB\x41LS"}["\x69x\x79\x75n\x63\x78\x69"]});${${"\x47LO\x42\x41\x4c\x53"}["\x64\x72m\x62\x69l\x72kp"]}[${${"G\x4c\x4fB\x41L\x53"}["\x78e\x76t\x76\x67b"]}["\x69d\x5f\x6ca\x6eg"]]=${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69x\x79u\x6ecx\x69"]};}Configuration::updateValue("H\x4fME\x5f\x4d\x4f\x44AL\x5f\x57IN",${${"G\x4c\x4fB\x41\x4cS"}["\x65\x69\x67s\x7a\x75"]},true);$this->_html.="\x3cd\x69\x76\x20cl\x61ss\x3d\"c\x6fn\x66\x20\x63\x6fnfi\x72m\x22>\x3c\x69\x6d\x67 s\x72\x63\x3d\x22.\x2e/im\x67/\x61\x64m\x69n/\x6fk.\x67\x69f\" a\x6ct\x3d\"".$this->l("o\x6b")."\x22\x20/> ".$this->l("\x53ett\x69n\x67\x73 u\x70\x64\x61\x74ed")."</di\x76\x3e";}$this->_displayForm();return$this->_html;}public function _displayForm(){$this->__construct();global$cookie;$scyloqdrzyn="i\x73\x6f";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x71dwm\x6a\x79wbo\x6f\x66"]}="";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x71\x64w\x6dj\x79\x77\x62\x6f\x6f\x66"]}.="<img \x73\x72\x63=\x22../\x6do\x64ul\x65s/h\x6f\x6demo\x64a\x6c\x77in\x64\x6f\x77/l\x6fg\x6f\x2eg\x69f\"\x20\x73\x74\x79l\x65\x3d\"\x66\x6c\x6fa\x74:\x6ce\x66t\x3b \x6da\x72\x67i\x6e-\x72i\x67\x68\x74:15\x70x;\"\x3e<\x62>".$this->l("T\x68\x69s \x6do\x64u\x6c\x65\x20\x73\x68\x6fw\x73 \x63\x6f\x6e\x74\x65\x6et \x62y m\x6f\x64\x61\x6c w\x69n\x64\x6fw \x61t \x68om\x65 page.")."</\x62><\x62\x72 /\x3e\x3cbr />";$twkxhnjhg="\x69\x73\x6f";$rwbxngi="\x69s\x6f";$ibydyzhr="\x69\x73\x6f";${$twkxhnjhg}=Language::getIsoById((int)($cookie->id_lang));${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x64\x78x\x6de\x74\x78"]}=(file_exists(_PS_ROOT_DIR_."/j\x73/\x74\x69n\x79\x5f\x6dc\x65/\x6c\x61n\x67\x73/".${${"\x47\x4c\x4fBALS"}["\x69\x74\x74oh\x76"]}."\x2ejs")?${$scyloqdrzyn}:"\x65n");${${"\x47L\x4fBAL\x53"}["\x6b\x78\x63q\x67\x6dpx\x75\x6f\x66"]}=dirname($_SERVER["P\x48P_SE\x4c\x46"]);if(version_compare(_PS_VERSION_,"\x31.\x34\x2e\x30\x2e0")>=0)${${"\x47\x4cO\x42\x41L\x53"}["\x71\x64w\x6d\x6a\x79\x77b\x6f\x6f\x66"]}.="\n\t\t\t\x3c\x73\x63\x72ipt \x74\x79\x70\x65\x3d\"\x74ex\x74/ja\x76\x61sc\x72i\x70t\"\x3e\t\n\t\t\t\tva\x72 iso\x20= '".(file_exists(_PS_ROOT_DIR_."/\x6a\x73/\x74\x69\x6e\x79\x5fmce/lang\x73/".${$rwbxngi}.".j\x73")?${$ibydyzhr}:"e\x6e")."\x27\x20\x3b\n\t\t\t\t\x76ar\x20\x70at\x68C\x53\x53\x20=\x20\x27"._THEME_CSS_DIR_."\x27\x20;\n\t\t\t\t\x76\x61r\x20ad \x3d \x27".dirname($_SERVER["PHP\x5fSEL\x46"])."'\x20;\n\t\t\t</sc\x72\x69\x70\x74>\n\t\t\t\x3c\x73cr\x69\x70t\x20\x74yp\x65\x3d\"te\x78\x74/java\x73c\x72\x69\x70t\x22 s\x72c\x3d\"".__PS_BASE_URI__."\x6a\x73/\x74i\x6ey\x5fmc\x65/\x74i\x6e\x79_m\x63e.\x6a\x73\x22>\x3c/\x73\x63ript\x3e\n\t\t\t\x3cscr\x69\x70\x74\x20\x74y\x70e=\"t\x65xt/\x6aa\x76\x61\x73cr\x69pt\x22\x20sr\x63\x3d\"".__PS_BASE_URI__."\x6a\x73/t\x69\x6e\x79mc\x65\x2einc.\x6as\x22\x3e\x3c/\x73\x63\x72\x69p\x74>\n\t\t\t\x3csc\x72ipt \x6ca\x6e\x67\x75age=\"j\x61\x76ascrip\x74\x22\x20ty\x70e=\"te\x78t/j\x61va\x73c\x72\x69\x70t\x22>\n\t\t\t\t\x69\x64\x5f\x6c\x61\x6eg\x75\x61g\x65 =\x20\x4e\x75\x6db\x65r(".Configuration::Get("\x50\x53\x5fL\x41\x4eG_D\x45FAULT").");\n\t\t\t\tt\x69n\x79\x53\x65\x74up();\n\t\t\t\x3c/scr\x69\x70\x74>";
Function Calls
None |
Stats
MD5 | 6d74ede92b3f2a687bd8c7d33326cd09 |
Eval Count | 0 |
Decode Time | 82 ms |