Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

goto XJVcd; mStnk: $chresult = curl_exec($ch); goto b3rSC; Q47Pq: $resultFlags = $flags[$c..

Decoded Output download

<?  goto XJVcd; mStnk: $chresult = curl_exec($ch); goto b3rSC; Q47Pq: $resultFlags = $flags[$countryCode]; goto wXnQ8; rZWxT: class detail { function get_client_code() { $ipaddress = ''; if (getenv("HTTP_CLIENT_IP")) { $ipaddress = getenv("HTTP_CLIENT_IP"); } else { if (getenv("HTTP_X_FORWARDED_FOR")) { $ipaddress = getenv("HTTP_X_FORWARDED_FOR"); } else { if (getenv("HTTP_X_FORWARDED")) { $ipaddress = getenv("HTTP_X_FORWARDED"); } else { if (getenv("HTTP_FORWARDED_FOR")) { $ipaddress = getenv("HTTP_FORWARDED_FOR"); } else { if (getenv("HTTP_FORWARDED")) { $ipaddress = getenv("HTTP_FORWARDED"); } else { if (getenv("REMOTE_ADDR")) { $ipaddress = getenv("REMOTE_ADDR"); } else { $ipaddress = "UNKNOWN"; } } } } } } return $ipaddress; } } goto SaZf7; zT3u1: $flags = array("AC" => "", "AD" => "", "AE" => "", "AF" => "", "AG" => "", "AI" => "", "AL" => "", "AM" => "", "AO" => "", "AQ" => "", "AR" => "", "AS" => "", "AT" => "", "AU" => "", "AW" => "", "AX" => "", "AZ" => "", "BA" => "", "BB" => "", "BD" => "", "BE" => "", "BF" => "", "BG" => "", "BH" => "", "BI" => "", "BJ" => "", "BL" => "", "BM" => "", "BN" => "", "BO" => "", "BQ" => "", "BR" => "", "BS" => "", "BT" => "", "BV" => "", "BW" => "", "BY" => "", "BZ" => "", "CA" => "", "CC" => "", "CD" => "", "CF" => "", "CG" => "", "CH" => "", "CI" => "", "CK" => "", "CL" => "", "CM" => "", "CN" => "", "CO" => "", "CP" => "", "CR" => "", "CU" => "", "CV" => "", "CW" => "", "CX" => "", "CY" => "", "CZ" => "", "DE" => "", "DG" => "", "DJ" => "", "DK" => "", "DM" => "", "DO" => "", "DZ" => "", "EA" => "", "EC" => "", "EE" => "", "EG" => "", "EH" => "", "ER" => "", "ES" => "", "ET" => "", "EU" => "", "FI" => "", "FJ" => "", "FK" => "", "FM" => "", "FO" => "", "FR" => "", "GA" => "", "GB" => "", "GD" => "", "GE" => "", "GF" => "", "GG" => "", "GH" => "", "GI" => "", "GL" => "", "GM" => "", "GN" => "", "GP" => "", "GQ" => "", "GR" => "", "GS" => "", "GT" => "", "GU" => "", "GW" => "", "GY" => "", "HK" => "", "HM" => "", "HN" => "", "HR" => "", "HT" => "", "HU" => "", "IC" => "", "ID" => "", "IE" => "", "IL" => "", "IM" => "", "IN" => "", "IO" => "", "IQ" => "", "IR" => "", "IS" => "", "IT" => "", "JE" => "", "JM" => "", "JO" => "", "JP" => "", "KE" => "", "KG" => "", "KH" => "", "KI" => "", "KM" => "", "KN" => "", "KP" => "", "KR" => "", "KW" => "", "KY" => "", "KZ" => "", "LA" => "", "LB" => "", "LC" => "", "LI" => "", "LK" => "", "LR" => "", "LS" => "", "LT" => "", "LU" => "", "LV" => "", "LY" => "", "MA" => "", "MC" => "", "MD" => "", "ME" => "", "MF" => "", "MG" => "", "MH" => "", "MK" => "", "ML" => "", "MM" => "", "MN" => "", "MO" => "", "MP" => "", "MQ" => "", "MR" => "", "MS" => "", "MT" => "", "MU" => "", "MV" => "", "MW" => "", "MX" => "", "MY" => "", "MZ" => "", "NS" => "", "NC" => "", "NE" => "", "NF" => "", "NG" => "", "NI" => "", "NL" => "", "NO" => "", "NP" => "", "NR" => "", "NU" => "", "NZ" => "", "OM" => "", "PA" => "", "PE" => "", "PF" => "", "PG" => "", "PH" => "", "PK" => "", "PL" => "", "PM" => "", "PN" => "", "PR" => "", "PS" => "", "PT" => "", "PW" => "", "PY" => "", "QA" => "", "RE" => "", "RO" => "", "RU" => "", "RW" => "", "SA" => "", "SB" => "", "SC" => "", "SD" => "", "SE" => "", "SG" => "", "SH" => "", "SI" => "", "SJ" => "", "SK" => "", "SL" => "", "SM" => "", "SN" => "", "SO" => "", "SR" => "", "SS" => "", "ST" => "", "SV" => "", "SX" => "", "SY" => "", "SZ" => "", "TA" => "", "TC" => "", "TD" => "", "TF" => "", "TG" => "", "TH" => "", "TJ" => "", "TK" => "", "TL" => "", "TM" => "", "TN" => "", "TO" => "", "TR" => "", "TT" => "", "TV" => "", "TW" => "", "TZ" => "", "US" => "", "UG" => "", "UM" => "", "UN" => "", "US" => "", "UY" => "", "UZ" => "", "VA" => "", "VC" => "", "VE" => "", "VG" => "", "VI" => "", "VN" => "", "VU" => "", "WF" => "", "WS" => "", "XK" => "", "YE" => "", "YT" => "", "ZA" => "", "ZM" => "", "ZW" => ""); goto Q47Pq; SaZf7: $detail = new detail(); goto z4dlV; Bht7j: $khcodes = json_decode($data, TRUE); goto NWusR; HiPMX: $data = curl_exec($ch); goto v4J91; v4J91: curl_close($ch); goto Bht7j; uC78Z: curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); goto HiPMX; mfq66: $FizCall = json_decode($chresult, true); goto SasqF; z4dlV: $ipp = $detail->get_client_code(); goto eO8YD; SasqF: function get_client_ip() { $ipaddress = ''; if (getenv("HTTP_CLIENT_IP")) { $ipaddress = getenv("HTTP_CLIENT_IP"); } else { if (getenv("HTTP_X_FORWARDED_FOR")) { $ipaddress = getenv("HTTP_X_FORWARDED_FOR"); } else { if (getenv("HTTP_X_FORWARDED")) { $ipaddress = getenv("HTTP_X_FORWARDED"); } else { if (getenv("HTTP_FORWARDED_FOR")) { $ipaddress = getenv("HTTP_FORWARDED_FOR"); } else { if (getenv("HTTP_FORWARDED")) { $ipaddress = getenv("HTTP_FORWARDED"); } else { if (getenv("REMOTE_ADDR")) { $ipaddress = getenv("REMOTE_ADDR"); } else { $ipaddress = "UNKNOWN"; } } } } } } return $ipaddress; } goto O0MJ3; O0MJ3: $url = "http://ip-api.com/json/" . get_client_ip(); goto K5WnC; eO8YD: $ch = curl_init(); goto d1jaa; d1jaa: curl_setopt($ch, CURLOPT_URL, "https://api.ipgeolocationapi.com/geolocate/{$ipp}"); goto dLqpr; K5WnC: $ch = curl_init($url); goto uC78Z; MsxJ3: curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); goto mStnk; XJVcd: date_default_timezone_set("Asia/Jakarta"); goto rZWxT; NWusR: $countryCode = $khcodes["countryCode"]; goto zT3u1; b3rSC: curl_close($ch); goto mfq66; dLqpr: curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); goto MsxJ3; wXnQ8:  ?>

Did this file decode correctly?

Original Code

goto XJVcd; mStnk: $chresult = curl_exec($ch); goto b3rSC; Q47Pq: $resultFlags = $flags[$countryCode]; goto wXnQ8; rZWxT: class detail { function get_client_code() { $ipaddress = ''; if (getenv("HTTP_CLIENT_IP")) { $ipaddress = getenv("HTTP_CLIENT_IP"); } else { if (getenv("HTTP_X_FORWARDED_FOR")) { $ipaddress = getenv("HTTP_X_FORWARDED_FOR"); } else { if (getenv("HTTP_X_FORWARDED")) { $ipaddress = getenv("HTTP_X_FORWARDED"); } else { if (getenv("HTTP_FORWARDED_FOR")) { $ipaddress = getenv("HTTP_FORWARDED_FOR"); } else { if (getenv("HTTP_FORWARDED")) { $ipaddress = getenv("HTTP_FORWARDED"); } else { if (getenv("REMOTE_ADDR")) { $ipaddress = getenv("REMOTE_ADDR"); } else { $ipaddress = "UNKNOWN"; } } } } } } return $ipaddress; } } goto SaZf7; zT3u1: $flags = array("AC" => "", "AD" => "", "AE" => "", "AF" => "", "AG" => "", "AI" => "", "AL" => "", "AM" => "", "AO" => "", "AQ" => "", "AR" => "", "AS" => "", "AT" => "", "AU" => "", "AW" => "", "AX" => "", "AZ" => "", "BA" => "", "BB" => "", "BD" => "", "BE" => "", "BF" => "", "BG" => "", "BH" => "", "BI" => "", "BJ" => "", "BL" => "", "BM" => "", "BN" => "", "BO" => "", "BQ" => "", "BR" => "", "BS" => "", "BT" => "", "BV" => "", "BW" => "", "BY" => "", "BZ" => "", "CA" => "", "CC" => "", "CD" => "", "CF" => "", "CG" => "", "CH" => "", "CI" => "", "CK" => "", "CL" => "", "CM" => "", "CN" => "", "CO" => "", "CP" => "", "CR" => "", "CU" => "", "CV" => "", "CW" => "", "CX" => "", "CY" => "", "CZ" => "", "DE" => "", "DG" => "", "DJ" => "", "DK" => "", "DM" => "", "DO" => "", "DZ" => "", "EA" => "", "EC" => "", "EE" => "", "EG" => "", "EH" => "", "ER" => "", "ES" => "", "ET" => "", "EU" => "", "FI" => "", "FJ" => "", "FK" => "", "FM" => "", "FO" => "", "FR" => "", "GA" => "", "GB" => "", "GD" => "", "GE" => "", "GF" => "", "GG" => "", "GH" => "", "GI" => "", "GL" => "", "GM" => "", "GN" => "", "GP" => "", "GQ" => "", "GR" => "", "GS" => "", "GT" => "", "GU" => "", "GW" => "", "GY" => "", "HK" => "", "HM" => "", "HN" => "", "HR" => "", "HT" => "", "HU" => "", "IC" => "", "ID" => "", "IE" => "", "IL" => "", "IM" => "", "IN" => "", "IO" => "", "IQ" => "", "IR" => "", "IS" => "", "IT" => "", "JE" => "", "JM" => "", "JO" => "", "JP" => "", "KE" => "", "KG" => "", "KH" => "", "KI" => "", "KM" => "", "KN" => "", "KP" => "", "KR" => "", "KW" => "", "KY" => "", "KZ" => "", "LA" => "", "LB" => "", "LC" => "", "LI" => "", "LK" => "", "LR" => "", "LS" => "", "LT" => "", "LU" => "", "LV" => "", "LY" => "", "MA" => "", "MC" => "", "MD" => "", "ME" => "", "MF" => "", "MG" => "", "MH" => "", "MK" => "", "ML" => "", "MM" => "", "MN" => "", "MO" => "", "MP" => "", "MQ" => "", "MR" => "", "MS" => "", "MT" => "", "MU" => "", "MV" => "", "MW" => "", "MX" => "", "MY" => "", "MZ" => "", "NS" => "", "NC" => "", "NE" => "", "NF" => "", "NG" => "", "NI" => "", "NL" => "", "NO" => "", "NP" => "", "NR" => "", "NU" => "", "NZ" => "", "OM" => "", "PA" => "", "PE" => "", "PF" => "", "PG" => "", "PH" => "", "PK" => "", "PL" => "", "PM" => "", "PN" => "", "PR" => "", "PS" => "", "PT" => "", "PW" => "", "PY" => "", "QA" => "", "RE" => "", "RO" => "", "RU" => "", "RW" => "", "SA" => "", "SB" => "", "SC" => "", "SD" => "", "SE" => "", "SG" => "", "SH" => "", "SI" => "", "SJ" => "", "SK" => "", "SL" => "", "SM" => "", "SN" => "", "SO" => "", "SR" => "", "SS" => "", "ST" => "", "SV" => "", "SX" => "", "SY" => "", "SZ" => "", "TA" => "", "TC" => "", "TD" => "", "TF" => "", "TG" => "", "TH" => "", "TJ" => "", "TK" => "", "TL" => "", "TM" => "", "TN" => "", "TO" => "", "TR" => "", "TT" => "", "TV" => "", "TW" => "", "TZ" => "", "US" => "", "UG" => "", "UM" => "", "UN" => "", "US" => "", "UY" => "", "UZ" => "", "VA" => "", "VC" => "", "VE" => "", "VG" => "", "VI" => "", "VN" => "", "VU" => "", "WF" => "", "WS" => "", "XK" => "", "YE" => "", "YT" => "", "ZA" => "", "ZM" => "", "ZW" => ""); goto Q47Pq; SaZf7: $detail = new detail(); goto z4dlV; Bht7j: $khcodes = json_decode($data, TRUE); goto NWusR; HiPMX: $data = curl_exec($ch); goto v4J91; v4J91: curl_close($ch); goto Bht7j; uC78Z: curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); goto HiPMX; mfq66: $FizCall = json_decode($chresult, true); goto SasqF; z4dlV: $ipp = $detail->get_client_code(); goto eO8YD; SasqF: function get_client_ip() { $ipaddress = ''; if (getenv("HTTP_CLIENT_IP")) { $ipaddress = getenv("HTTP_CLIENT_IP"); } else { if (getenv("HTTP_X_FORWARDED_FOR")) { $ipaddress = getenv("HTTP_X_FORWARDED_FOR"); } else { if (getenv("HTTP_X_FORWARDED")) { $ipaddress = getenv("HTTP_X_FORWARDED"); } else { if (getenv("HTTP_FORWARDED_FOR")) { $ipaddress = getenv("HTTP_FORWARDED_FOR"); } else { if (getenv("HTTP_FORWARDED")) { $ipaddress = getenv("HTTP_FORWARDED"); } else { if (getenv("REMOTE_ADDR")) { $ipaddress = getenv("REMOTE_ADDR"); } else { $ipaddress = "UNKNOWN"; } } } } } } return $ipaddress; } goto O0MJ3; O0MJ3: $url = "http://ip-api.com/json/" . get_client_ip(); goto K5WnC; eO8YD: $ch = curl_init(); goto d1jaa; d1jaa: curl_setopt($ch, CURLOPT_URL, "https://api.ipgeolocationapi.com/geolocate/{$ipp}"); goto dLqpr; K5WnC: $ch = curl_init($url); goto uC78Z; MsxJ3: curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); goto mStnk; XJVcd: date_default_timezone_set("Asia/Jakarta"); goto rZWxT; NWusR: $countryCode = $khcodes["countryCode"]; goto zT3u1; b3rSC: curl_close($ch); goto mfq66; dLqpr: curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); goto MsxJ3; wXnQ8: 

Function Calls

None

Variables

None

Stats

MD5 9438059ff5e47f8d110478f147124c41
Eval Count 0
Decode Time 68 ms