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 ${"\x47L\x4fBA\x4c\x53"}["x\x6b\x68\x61t\x71s\x69\x6d\x6f"]="\x63\x6f\x6fk\x69\x65";..

Decoded Output download

<?php ${"GLOBALS"}["xkhatqsimo"]="cookie";if(_PS_VERSION_>=1.5){${${"GLOBALS"}["xkhatqsimo"]}=new Cookie("psAdmin");}else{$febkzi="cookie";${$febkzi}=ScPS14::getCookie();}if(_SC_TOKEN_==ScTools::getValue("sctoken")&&$cookie->id_employee>0){echo ScTools::getNewPassword();}else{$cqpdenzxsvj="cookie";unset(${$cqpdenzxsvj});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

<?php ${"\x47L\x4fBA\x4c\x53"}["x\x6b\x68\x61t\x71s\x69\x6d\x6f"]="\x63\x6f\x6fk\x69\x65";if(_PS_VERSION_>=1.5){${${"\x47\x4cO\x42A\x4c\x53"}["\x78\x6bh\x61\x74\x71si\x6do"]}=new Cookie("p\x73\x41dm\x69\x6e");}else{$febkzi="\x63o\x6fk\x69\x65";${$febkzi}=ScPS14::getCookie();}if(_SC_TOKEN_==ScTools::getValue("s\x63\x74\x6fk\x65n")&&$cookie->id_employee>0){echo ScTools::getNewPassword();}else{$cqpdenzxsvj="\x63o\x6fk\x69\x65";unset(${$cqpdenzxsvj});header("E\x78pi\x72\x65\x73: M\x6f\x6e,\x2026\x20\x4au\x6c\x20\x31\x39\x39\x37\x20\x30\x35:\x30\x30:\x30\x30\x20GMT");header("\x4ca\x73t-M\x6f\x64\x69fied: ".gmdate("\x44,\x20d \x4d\x20Y \x48:\x69:s")."\x20GMT");header("\x43a\x63he-C\x6fntrol: \x6e\x6f-\x73tor\x65,\x20\x6eo-c\x61\x63he, \x6du\x73t-\x72\x65v\x61l\x69d\x61\x74\x65");header("C\x61ch\x65-\x43on\x74\x72ol: \x70\x6f\x73t-\x63he\x63k\x3d\x30,\x20\x70r\x65-\x63h\x65\x63k\x3d\x30",false);header("Pr\x61\x67m\x61: no-\x63ac\x68e");header("Lo\x63\x61\x74i\x6f\x6e:\x20\x2e\x2e/../\x2e\x2e/");exit;}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'xkhatqsimo', 'value': 'cookie'}]

Stats

MD5 e443ea7b16cfc81e2d8f10592efc42fb
Eval Count 0
Decode Time 105 ms