Advertisement
HeavenHU

Untitled

Dec 3rd, 2016
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.34 KB | None | 0 0
  1. <?php
  2. session_start();
  3. if ($_POST['Submit'] == 'Send email')
  4. {
  5.  
  6. $to = $_POST['toemail'];
  7. $subject = $_POST['subject'];
  8. $message = $_POST['message'];
  9. $fromemail = $_POST['fromemail'];
  10. $fromname = $_POST['fromname'];
  11. $lt= '<';
  12. $gt= '>';
  13. $sp= ' ';
  14. $from= 'From:';
  15. $headers = $from.$fromname.$sp.$lt.$fromemail.$gt;
  16. mail($to,$subject,$message,$headers);
  17. header("Location: fucking_private_shit.php?msg=Email sent!");
  18. exit();
  19. }
  20. ?>
  21. <html>
  22. <head>
  23. <title>RetardMail - Private Email Exploit powered by NSA</title>
  24. </head>
  25. <body bgcolor="#ffffff">
  26. <br>
  27. <p style="margin-left:15px">
  28. <form action="fucking_private_shit.php" method="POST">
  29. <b>Sender name:</b><br>
  30. <input type="text" name="fromname" size="50"> NOT REAL<br>
  31. <br><b>Sender mail:</b><br>
  32. <input type="text" name="fromemail" size="50"> NOT REAL<br>
  33. <br><b>Target mail:</b><br>
  34. <input type="text" name="toemail" size="50"> If you want to send to more emails, separate the emails with ;<br>
  35. <br><b>Subject:</b><br>
  36. <input type="text" name="subject" size="74"><br>
  37. <br><b>Message:</b><br>
  38. <textarea name="message" rows="5" cols="50">
  39. </textarea><br>
  40. <input type="submit" name="Submit" value="Send email">
  41. <input type="reset" value="Reset">
  42. </form>
  43. </p>
  44. <?php if (isset($_GET['msg'])) { echo "<font color=\"red\"><h3 align=\"center\"> Message sent. </h3></font>"; } ?>
  45.  
  46. </body>
  47. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement