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\x42A\x4c\x53"}["\x75\x71\x65\x6a\x64gse\x79i"]="\x61r\x71\x75\x69\x7..

Decoded Output download

<?php ${"GLOBALS"}["uqejdgseyi"]="arquivo";function download($arquivo){header("Content-Type: application/force-download");$hfnttxw="arquivo";header("Content-Type: application/octet-stream;");header("Content-Length:".filesize(${$hfnttxw}));header("Content-disposition: attachment; filename=".${${"GLOBALS"}["uqejdgseyi"]});header("Pragma: no-cache");header("Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0");header("Expires: 0");readfile(${${"GLOBALS"}["uqejdgseyi"]});flush();}download("BackupInfo.txt"); 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4c\x4f\x42A\x4c\x53"}["\x75\x71\x65\x6a\x64gse\x79i"]="\x61r\x71\x75\x69\x76\x6f";function download($arquivo){header("Co\x6e\x74e\x6e\x74-T\x79p\x65:\x20\x61\x70\x70l\x69\x63\x61t\x69o\x6e/\x66\x6f\x72c\x65-d\x6f\x77\x6el\x6f\x61d");$hfnttxw="\x61rq\x75\x69\x76\x6f";header("C\x6f\x6e\x74\x65nt-Ty\x70\x65:\x20\x61\x70\x70\x6c\x69c\x61t\x69\x6f\x6e/o\x63te\x74-s\x74re\x61m\x3b");header("Co\x6et\x65\x6et-\x4ce\x6e\x67\x74h:".filesize(${$hfnttxw}));header("Co\x6e\x74ent-\x64i\x73\x70\x6f\x73i\x74i\x6fn: a\x74tachm\x65\x6e\x74\x3b\x20f\x69\x6c\x65name\x3d".${${"GLO\x42AL\x53"}["\x75\x71\x65\x6a\x64\x67s\x65\x79\x69"]});header("\x50ragm\x61:\x20\x6e\x6f-\x63\x61ch\x65");header("\x43a\x63h\x65-Co\x6etrol:\x20\x6eo-\x73t\x6fr\x65, \x6eo-c\x61\x63h\x65,\x20mu\x73\x74-rev\x61lid\x61\x74e,\x20po\x73t-check\x3d0,\x20pre-c\x68\x65c\x6b\x3d0");header("\x45xpi\x72e\x73:\x200");readfile(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75\x71\x65\x6a\x64gs\x65\x79\x69"]});flush();}download("B\x61\x63kupInf\x6f\x2etx\x74");
?>

Function Calls

header 1
download 1

Variables

GLOBALS [{'key': 'uqejdgseyi', 'value': 'arquivo'}]
$arquivo BackupInfo.txt

Stats

MD5 a40733df72c9b038bb94b8d8953aef3f
Eval Count 0
Decode Time 88 ms