Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[www.w3.org];
- <html xmlns="[www.w3.org];
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Mail Stress Test</title>
- <style>
- body
- {
- background-color: gray;
- }
- #stuff
- {
- font-family: courier;
- color: #FBB917;
- margin: auto;
- width: 1000px;
- height: 600px;
- font-size: 20px;
- }
- span.small
- {
- font-size: 13px;
- }
- </style>
- </head>
- <body>
- <div id="stuff">
- <center><h1>Mail Bombing By D@rk_H1s@n</h1></center>
- <center>
- <?php
- if(isset($_POST["button"])){
- $from = $_POST["ymail"];
- if (preg_match("/^[^@]*@[^@]*\.[^@]*$/", $from)) {
- $to = $_POST["rec"];
- $subject = $_POST["subject"];
- $from = $_POST["ymail"];
- $message = $_POST["mail"];
- $header = "MIME-Version: 1.0" . "\r\n";
- $header .= "Content-type: text/html; charset=iso-8859-1" . "\r\n";
- $header .= "from:$from";
- $i = 1;
- $loop = $_POST["amount"];
- while($i <= $loop)
- {
- mail($to,$subject,$message,$header);
- echo "Mail sent to " . $to . "!<br />
- " . $i;
- $i++;
- }
- }else{
- echo "Please enter a valid email.";
- }
- }
- else
- {
- ?>
- <table>
- <form action="" method="post">
- <tr>
- <td>Receiver:</td><td><input type="text" name="rec" style="width: 800px;"></td>
- </tr>
- <tr>
- <td>Subject:</td><td><input type="text" name="subject" style="width: 800px;"></td>
- </tr>
- <tr>
- <td>Your mail:</td><td><input type="text" name="ymail" style="width: 800px;"></td>
- </tr>
- <tr>
- <td>Amount of mails:</td><td><input type="text" name="amount" value="1" style="width: 800px;"></td>
- </tr>
- <tr>
- <td>Mail:</td><td><textarea name="mail" style="width: 800px; height: 200px;"></textarea></td>
- </tr>
- <tr>
- <td></td>
- <td><input type="submit" value="Send mail" name="button" style="width: 800px; height: 100px;"></td>
- </tr>
- </form>
- </table>
- <?php
- }
- ?>
- </center>
- <p><span class="small">FB ON ME:<a href='http://fb.me/d1rk-h1s1n'>D@rk_H1s@n</a></span></p>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement