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 ${"G\x4cOB\x41L\x53"}["\x77\x72sim\x6ce"]="\x73\x74at\x75\x73";${"G\x4c\x4f\x42A\x4c..

Decoded Output download

<?php ${"GLOBALS"}["wrsimle"]="status";${"GLOBALS"}["gpgmsr"]="path";function write_file($path,$content){${"GLOBALS"}["wenulfwzcpf"]="fileSystem";${"GLOBALS"}["ctdeqmkqd"]="status";${${"GLOBALS"}["wenulfwzcpf"]}=new Symfony\Component\Filesystem\Filesystem();try{${"GLOBALS"}["rwvrenii"]="content";$cctilqbl="path";$fileSystem->dumpFile(${$cctilqbl},${${"GLOBALS"}["rwvrenii"]});$woeiqahvkyd="status";${$woeiqahvkyd}=true;${"GLOBALS"}["okiwdbtdr"]="content";$GLOBALS["tmp_writed_files"][${${"GLOBALS"}["gpgmsr"]}]=${${"GLOBALS"}["okiwdbtdr"]};}catch(Symfony\Component\Filesystem\Exception\IOExceptionInterface$exception){${${"GLOBALS"}["wrsimle"]}=false;}if(${${"GLOBALS"}["ctdeqmkqd"]})return true;return false;}function read_file($path){$rcghkup="path";if(isset($GLOBALS["tmp_writed_files"][${$rcghkup}])){return$GLOBALS["tmp_writed_files"][${${"GLOBALS"}["gpgmsr"]}];}else{$wtqfetydsy="path";if(is_file(${$wtqfetydsy}))return file_get_contents(${${"GLOBALS"}["gpgmsr"]});}}function update_step($step){$vokxwibrjop="step";@chmod(step_file,0777);write_file(step_file,"<?php return "".${$vokxwibrjop}.""; ?>");} 
?>

Did this file decode correctly?

Original Code

<?php ${"G\x4cOB\x41L\x53"}["\x77\x72sim\x6ce"]="\x73\x74at\x75\x73";${"G\x4c\x4f\x42A\x4cS"}["\x67\x70gm\x73\x72"]="\x70\x61\x74\x68";function write_file($path,$content){${"G\x4c\x4f\x42A\x4c\x53"}["w\x65\x6e\x75\x6cf\x77z\x63\x70\x66"]="\x66\x69\x6c\x65Sys\x74em";${"G\x4cOBA\x4cS"}["\x63\x74\x64\x65\x71\x6d\x6b\x71d"]="\x73\x74\x61\x74\x75s";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x77\x65\x6e\x75l\x66\x77\x7ac\x70\x66"]}=new Symfony\Component\Filesystem\Filesystem();try{${"\x47LO\x42A\x4cS"}["r\x77v\x72\x65\x6e\x69i"]="\x63\x6fn\x74\x65n\x74";$cctilqbl="\x70\x61\x74\x68";$fileSystem->dumpFile(${$cctilqbl},${${"\x47LOB\x41\x4c\x53"}["\x72w\x76\x72\x65\x6ei\x69"]});$woeiqahvkyd="\x73\x74\x61\x74\x75\x73";${$woeiqahvkyd}=true;${"\x47L\x4f\x42\x41\x4c\x53"}["\x6f\x6b\x69\x77\x64\x62\x74d\x72"]="\x63\x6f\x6et\x65\x6e\x74";$GLOBALS["\x74m\x70\x5f\x77r\x69ted\x5f\x66\x69\x6c\x65\x73"][${${"\x47\x4cO\x42\x41\x4cS"}["g\x70\x67\x6d\x73\x72"]}]=${${"\x47L\x4f\x42A\x4c\x53"}["\x6f\x6b\x69\x77\x64\x62\x74d\x72"]};}catch(Symfony\Component\Filesystem\Exception\IOExceptionInterface$exception){${${"\x47\x4cO\x42\x41\x4c\x53"}["\x77r\x73\x69mle"]}=false;}if(${${"\x47L\x4fBA\x4c\x53"}["c\x74\x64eq\x6d\x6b\x71\x64"]})return true;return false;}function read_file($path){$rcghkup="\x70\x61\x74h";if(isset($GLOBALS["\x74\x6d\x70\x5f\x77rit\x65d\x5ff\x69\x6c\x65s"][${$rcghkup}])){return$GLOBALS["\x74m\x70_\x77\x72i\x74e\x64_f\x69\x6ces"][${${"\x47L\x4fBA\x4c\x53"}["\x67\x70\x67\x6dsr"]}];}else{$wtqfetydsy="\x70a\x74h";if(is_file(${$wtqfetydsy}))return file_get_contents(${${"\x47\x4cO\x42\x41L\x53"}["\x67\x70\x67\x6ds\x72"]});}}function update_step($step){$vokxwibrjop="\x73te\x70";@chmod(step_file,0777);write_file(step_file,"\x3c?\x70h\x70 r\x65tur\x6e \x22".${$vokxwibrjop}."\x22\x3b\x20?\x3e");}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'wrsimle', 'value': 'status'}, {'key': 'gpgmsr', 'value': 'path'}]

Stats

MD5 2f52bf66391fcce3df1e291174ba3420
Eval Count 0
Decode Time 78 ms