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 /* AthenaHTTP */ ${"\x47\x4c\x4f\x42A\x4c\x53"}["\x7a\x64\x6d\x65\x76\x7a\x69\x64..
Decoded Output download
<?php /*
AthenaHTTP
*/
${"GLOBALS"}["zdmevzidkuue"]="data";${"GLOBALS"}["ccadfmkzco"]="c";${"GLOBALS"}["lvedqvdmyzib"]="handle";error_reporting(E_ERROR|E_WARNING|E_PARSE);define("AthenaHTTP","");require_once"./config.php";set_time_limit(0);if(mysql_num_rows(mysql_query("SELECT * FROM ip_country WHERE 1 LIMIT 1"))==0){$mcfdhdygyy="handle";${$mcfdhdygyy}=fopen("geoip.csv","r");if(${${"GLOBALS"}["lvedqvdmyzib"]}!==FALSE){${"GLOBALS"}["naxnajzpcu"]="data";${${"GLOBALS"}["ccadfmkzco"]}=0;while((${${"GLOBALS"}["naxnajzpcu"]}=fgetcsv(${${"GLOBALS"}["lvedqvdmyzib"]},1000,","))!==FALSE){${"GLOBALS"}["ibswrgrou"]="data";${"GLOBALS"}["yxozht"]="data";${"GLOBALS"}["jyudtru"]="data";mysql_query("INSERT INTO ip_country (ip_start, ip_end, ip_start_long, ip_end_long, country_code, country_name) VALUES "."('".${${"GLOBALS"}["zdmevzidkuue"]}[0]."', '".${${"GLOBALS"}["ibswrgrou"]}[1]."', '".${${"GLOBALS"}["jyudtru"]}[2]."', '".${${"GLOBALS"}["zdmevzidkuue"]}[3]."', '".${${"GLOBALS"}["zdmevzidkuue"]}[4]."', '".${${"GLOBALS"}["yxozht"]}[5]."');");}}print"GeoIP database imported successfully";}else{print"Seems like it's already imported";}
?>
Did this file decode correctly?
Original Code
<?php /*
AthenaHTTP
*/
${"\x47\x4c\x4f\x42A\x4c\x53"}["\x7a\x64\x6d\x65\x76\x7a\x69\x64\x6b\x75\x75e"]="\x64ata";${"GLOB\x41L\x53"}["cc\x61\x64\x66mkz\x63o"]="\x63";${"\x47\x4c\x4f\x42ALS"}["\x6c\x76ed\x71\x76\x64m\x79\x7aib"]="\x68an\x64le";error_reporting(E_ERROR|E_WARNING|E_PARSE);define("A\x74\x68\x65naHT\x54P","");require_once"./c\x6fnfig.ph\x70";set_time_limit(0);if(mysql_num_rows(mysql_query("\x53E\x4cE\x43\x54\x20*\x20F\x52\x4fM\x20i\x70_c\x6f\x75n\x74r\x79\x20WH\x45\x52\x45\x201\x20L\x49\x4d\x49T\x201"))==0){$mcfdhdygyy="han\x64\x6c\x65";${$mcfdhdygyy}=fopen("\x67e\x6f\x69\x70\x2ecsv","r");if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x76\x65\x64\x71\x76d\x6dy\x7ai\x62"]}!==FALSE){${"GLOB\x41\x4cS"}["\x6e\x61xna\x6a\x7a\x70c\x75"]="\x64\x61t\x61";${${"\x47\x4c\x4fB\x41L\x53"}["\x63\x63\x61df\x6d\x6bz\x63\x6f"]}=0;while((${${"\x47\x4c\x4fB\x41L\x53"}["n\x61x\x6e\x61\x6a\x7apc\x75"]}=fgetcsv(${${"\x47L\x4f\x42\x41\x4c\x53"}["lv\x65\x64\x71\x76d\x6d\x79\x7a\x69b"]},1000,","))!==FALSE){${"\x47\x4c\x4f\x42AL\x53"}["i\x62\x73\x77\x72g\x72\x6f\x75"]="\x64\x61\x74a";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["y\x78\x6fz\x68\x74"]="\x64\x61\x74\x61";${"\x47L\x4fBAL\x53"}["\x6a\x79\x75\x64t\x72u"]="\x64\x61\x74\x61";mysql_query("I\x4e\x53E\x52T I\x4eT\x4f\x20i\x70\x5fcoun\x74\x72\x79 (\x69\x70\x5f\x73\x74ar\x74, i\x70\x5fe\x6ed,\x20\x69p_\x73\x74\x61rt_lon\x67,\x20ip_\x65\x6ed_lo\x6e\x67,\x20\x63ount\x72\x79_co\x64\x65, c\x6fun\x74ry_na\x6d\x65) V\x41\x4cU\x45S\x20"."(\x27".${${"\x47L\x4f\x42\x41\x4c\x53"}["z\x64\x6d\x65\x76\x7ai\x64\x6b\x75u\x65"]}[0]."',\x20'".${${"\x47\x4c\x4f\x42\x41L\x53"}["i\x62s\x77rgr\x6fu"]}[1]."', \x27".${${"G\x4cO\x42\x41LS"}["\x6a\x79u\x64\x74\x72\x75"]}[2]."\x27, \x27".${${"\x47LO\x42\x41\x4c\x53"}["\x7ad\x6d\x65v\x7a\x69\x64\x6b\x75\x75e"]}[3]."',\x20'".${${"\x47L\x4f\x42A\x4c\x53"}["\x7ad\x6d\x65\x76zi\x64\x6b\x75ue"]}[4]."',\x20\x27".${${"G\x4cO\x42\x41\x4cS"}["\x79x\x6f\x7a\x68\x74"]}[5]."\x27);");}}print"G\x65\x6fIP \x64a\x74\x61\x62as\x65 \x69mp\x6f\x72t\x65d\x20\x73\x75c\x63\x65s\x73\x66\x75\x6cl\x79";}else{print"\x53ee\x6ds\x20\x6c\x69k\x65 i\x74\x27s a\x6c\x72e\x61\x64\x79\x20\x69m\x70ort\x65d";}
?>
Function Calls
None |
Stats
MD5 | 81e127622d73d43bfafe60ff1ba48e71 |
Eval Count | 0 |
Decode Time | 136 ms |