Advertisement
Guest User

Untitled

a guest
May 3rd, 2017
582
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.48 KB | None | 0 0
  1. <?php
  2. echo '<body background="https://temporarytattoos.com/pub/media/catalog/product/cache/image/700x560/e9c3970ab036de70892d86c6d221abfe/h/i/hipster-fox-temporary-tattoo-6222.jpg"></body>';
  3. print '<!DOCTYPE html>
  4. <html><head><title></title></head><body><center><h1>SPAMFOX</h1></center>
  5. <hr align="center" width="1350" size="2" color="#A9A9A9" /><br></body></html>';
  6. $from = $_SERVER['HTTP_HOST'].'@mail.com';
  7. function generatemail($length = 19){
  8. $email = 'abdefhiknrstyzABDEFGHKNQRSTYZ234567892001ISDNDLFJLSDOJFPAKASQGM';
  9. $numChars = strlen($email);
  10. $string = '';
  11. for ($i = 0; $i < $length; $i++) {
  12. $string .= substr($email, rand(1, $numChars) - 1, 1);
  13. }
  14. $string = $string.'@mail.com';
  15. echo $string;
  16. $message = $_GET['mess'];
  17. $headers = $_GET['head'];
  18. $subject = $_GET['subj'];
  19. if (mail($string,$subject,$message,$headers,'-f'.$from)) {echo "Yes!!!<br/>";}
  20. $string = $string.'@mail.ru';
  21. if (mail($string,$subject,$message,$headers,'-f'.$from)) {echo "<br/>";}
  22. else {
  23. $connect = fsockopen ($server, 25, $errno, $errstr, 30);
  24. fputs($connect, "Hi\r\n");
  25. fputs($connect, "MAIL FROM: $from\n");
  26. fputs($connect, "RCPT TO: $to\n");
  27. fputs($connect, "DATA\r\n");
  28. fputs($connect, "Content-Type: text/plain; charset=iso-8859-1\n");
  29. fputs($connect, "To: $to\n");
  30. fputs($connect, "Subject: $subject\n");
  31. fputs($connect, "\n\n");
  32. fputs($connect, stripslashes($message)." \r\n");
  33. fputs($connect, ".\r\n");
  34. fputs($connect, "RSET\r\n");
  35. }
  36. }
  37.  
  38. function spam(){
  39. $server = $_GET['server'];
  40. $message = $_GET['mess'];
  41. $connect = fsockopen($server, 25, $errno, $errstr, 30);
  42. fputs($connect, "Hi\r\n");
  43. fputs($connect, "MAIL FROM: $from\n");
  44. fputs($connect, "RCPT TO: $to\n");
  45. fputs($connect, "DATA\r\n");
  46. fputs($connect, "Content-Type: text/plain; charset=iso-8859-1\n");
  47. fputs($connect, "To: $to\n");
  48. fputs($connect, "Subject: $subject\n");
  49. fputs($connect, "\n\n");
  50. fputs($connect, stripslashes($message)." \r\n");
  51. fputs($connect, ".\r\n");
  52. fputs($connect, "RSET\r\n");
  53. }
  54. }
  55.  
  56. function script(){
  57. print '<script type="text/javascript">
  58. function locs(){
  59. document.location.href="'.$_GET['address'].'";
  60. }
  61. setTimeout("locs()", 10);
  62. </script>';
  63. }
  64. $timei = time();
  65. $time = $_GET['time'];
  66. while (time() - $timei < $time) {
  67. echo generatemail(9);
  68. spam();
  69. script();
  70. }
  71. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement