Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
$gpcmbwfivmc="\x69\x64\x45\x6d\x70\x6c\x6fy\x65\x65";${"\x47LOBA\x4c\x53"}["\x77\x78\x79c..
Decoded Output download
<? $gpcmbwfivmc="idEmployee";${"GLOBALS"}["wxycymhloiia"]="cookie";include_once("../../../config/config.inc.php");include_once("../config/init.php");${"GLOBALS"}["fbgewy"]="idEmployee";if(_PS_VERSION_>=1.5){${${"GLOBALS"}["wxycymhloiia"]}=new Cookie("psAdmin");}else{${${"GLOBALS"}["wxycymhloiia"]}=ScPS14::getCookie();}${$gpcmbwfivmc}=$cookie->id_employee;if(_SC_TOKEN_==ScTools::getValue("token")&&${${"GLOBALS"}["fbgewy"]}>0){$sId=ScTools::getValue("idNews");echo setReadNews($sId);}else{$pehxcrmw="cookie";unset(${$pehxcrmw});header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");header("Cache-Control: no-store, no-cache, must-revalidate");header("Cache-Control: post-check=0, pre-check=0",false);header("Pragma: no-cache");header("Location: ../../../");exit;}
?>
Did this file decode correctly?
Original Code
$gpcmbwfivmc="\x69\x64\x45\x6d\x70\x6c\x6fy\x65\x65";${"\x47LOBA\x4c\x53"}["\x77\x78\x79c\x79mh\x6c\x6f\x69\x69\x61"]="c\x6f\x6f\x6bi\x65";include_once("\x2e./../\x2e./conf\x69\x67/co\x6ef\x69g.inc.\x70hp");include_once("../config/\x69\x6eit\x2ep\x68\x70");${"\x47\x4c\x4fB\x41\x4c\x53"}["\x66\x62\x67e\x77\x79"]="\x69\x64E\x6d\x70\x6c\x6f\x79ee";if(_PS_VERSION_>=1.5){${${"G\x4cO\x42\x41\x4cS"}["w\x78yc\x79\x6d\x68\x6co\x69i\x61"]}=new Cookie("ps\x41\x64mi\x6e");}else{${${"GLO\x42A\x4cS"}["w\x78y\x63\x79\x6d\x68l\x6f\x69\x69\x61"]}=ScPS14::getCookie();}${$gpcmbwfivmc}=$cookie->id_employee;if(_SC_TOKEN_==ScTools::getValue("\x74\x6fken")&&${${"\x47\x4c\x4f\x42ALS"}["f\x62\x67\x65\x77\x79"]}>0){$sId=ScTools::getValue("\x69d\x4e\x65\x77s");echo setReadNews($sId);}else{$pehxcrmw="\x63\x6fok\x69e";unset(${$pehxcrmw});header("E\x78\x70i\x72e\x73:\x20Mo\x6e,\x20\x326 J\x75l\x20\x319\x39\x37\x2005:\x30\x30:\x30\x30 GMT");header("L\x61s\x74-\x4d\x6fdif\x69e\x64:\x20".gmdate("\x44,\x20d\x20M\x20Y H:\x69:\x73")." G\x4d\x54");header("Ca\x63\x68\x65-C\x6fn\x74r\x6f\x6c: \x6e\x6f-\x73\x74o\x72e, no-c\x61che,\x20must-\x72\x65val\x69\x64\x61\x74\x65");header("\x43\x61\x63he-\x43\x6f\x6e\x74r\x6fl:\x20p\x6f\x73t-c\x68\x65\x63k=\x30, \x70\x72e-\x63\x68\x65\x63\x6b\x3d0",false);header("P\x72ag\x6da:\x20\x6e\x6f-\x63a\x63he");header("\x4co\x63\x61\x74\x69\x6f\x6e: ../.\x2e/\x2e./");exit;}
?>
Function Calls
| None |
Stats
| MD5 | 389369238f88ccb33169e6c74ec50ee5 |
| Eval Count | 0 |
| Decode Time | 105 ms |