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\x4cO\x42\x41\x4c\x53"}["\x74oul\x73sc\x6eu\x74"]="f\x69\x6cecon\x74\x65n\x74..

Decoded Output download

<?php ${"GLOBALS"}["toulsscnut"]="filecontents";${"GLOBALS"}["jfkauhdn"]="filename";${${"GLOBALS"}["jfkauhdn"]}=$_REQUEST["filename"];header("Content-type: text/plain");header("Content-Disposition: attachment; filename=".${${"GLOBALS"}["jfkauhdn"]}."");${${"GLOBALS"}["toulsscnut"]}=file_get_contents("zbackupdatabasefiles/".${${"GLOBALS"}["jfkauhdn"]});echo${${"GLOBALS"}["toulsscnut"]}; 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4cO\x42\x41\x4c\x53"}["\x74oul\x73sc\x6eu\x74"]="f\x69\x6cecon\x74\x65n\x74\x73";${"G\x4cO\x42A\x4cS"}["j\x66\x6b\x61\x75\x68dn"]="\x66\x69\x6c\x65\x6eame";${${"G\x4cOB\x41L\x53"}["\x6a\x66k\x61\x75\x68\x64\x6e"]}=$_REQUEST["file\x6ea\x6de"];header("C\x6f\x6e\x74e\x6e\x74-\x74yp\x65:\x20\x74\x65\x78\x74/p\x6cain");header("\x43\x6f\x6e\x74e\x6e\x74-\x44isp\x6fsit\x69\x6f\x6e:\x20att\x61c\x68\x6d\x65\x6e\x74\x3b\x20\x66il\x65na\x6d\x65=".${${"G\x4cO\x42\x41L\x53"}["j\x66\x6b\x61\x75h\x64n"]}."");${${"\x47\x4c\x4fB\x41LS"}["t\x6ful\x73s\x63n\x75\x74"]}=file_get_contents("\x7ab\x61\x63\x6b\x75\x70da\x74\x61\x62a\x73efi\x6c\x65\x73/".${${"\x47\x4cOB\x41\x4cS"}["\x6a\x66k\x61\x75\x68\x64\x6e"]});echo${${"\x47\x4cOB\x41\x4c\x53"}["\x74\x6fu\x6c\x73scn\x75\x74"]};
?>

Function Calls

header 1

Variables

GLOBALS [{'key': 'toulsscnut', 'value': 'filecontents'}, {'key': 'jfkauhdn', 'value': 'filename'}]
filename None

Stats

MD5 2e17f40be0000dfe4dc0dfc3d7535c58
Eval Count 0
Decode Time 57 ms