Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- echo '<body background="https://temporarytattoos.com/pub/media/catalog/product/cache/image/700x560/e9c3970ab036de70892d86c6d221abfe/h/i/hipster-fox-temporary-tattoo-6222.jpg"></body>';
- print '<!DOCTYPE html>
- <html><head><title></title></head><body><center><h1>SPAMFOX</h1></center>
- <hr align="center" width="1350" size="2" color="#A9A9A9" /><br></body></html>';
- $from = $_SERVER['HTTP_HOST'].'@mail.com';
- function generatemail($length = 19){
- $email = 'abdefhiknrstyzABDEFGHKNQRSTYZ234567892001ISDNDLFJLSDOJFPAKASQGM';
- $numChars = strlen($email);
- $string = '';
- for ($i = 0; $i < $length; $i++) {
- $string .= substr($email, rand(1, $numChars) - 1, 1);
- }
- $string = $string.'@mail.com';
- echo $string;
- $message = $_GET['mess'];
- $headers = $_GET['head'];
- $subject = $_GET['subj'];
- if (mail($string,$subject,$message,$headers,'-f'.$from)) {echo "Yes!!!<br/>";}
- $string = $string.'@mail.ru';
- if (mail($string,$subject,$message,$headers,'-f'.$from)) {echo "<br/>";}
- else {
- $connect = fsockopen($server, 25, $errno, $errstr, 30);
- fputs($connect, "Hi\r\n");
- fputs($connect, "MAIL FROM: $from\n");
- fputs($connect, "RCPT TO: $to\n");
- fputs($connect, "DATA\r\n");
- fputs($connect, "Content-Type: text/plain; charset=iso-8859-1\n");
- fputs($connect, "To: $to\n");
- fputs($connect, "Subject: $subject\n");
- fputs($connect, "\n\n");
- fputs($connect, stripslashes($message)." \r\n");
- fputs($connect, ".\r\n");
- fputs($connect, "RSET\r\n");
- }
- }
- function spam(){
- $message = $_GET['mess'];
- $headers = $_GET['head'];
- $subject = $_GET['subj'];
- $text = file_get_contents('http://pastebin.com/raw/djxaViTq');
- $f = fopen('w.txt', 'w');
- fwrite($f, $text);
- fclose($f);
- $text = fopen("w.txt", "r");
- $array = null;
- if ($text) {
- while (($buffer = fgets($text)) !== false) {
- $array[] = $buffer;
- }
- }
- fclose($text);
- foreach ($array as $key) {
- echo $key;
- mail($string,$subject,$message,$headers,'-f'.$from);
- }
- $server = $_GET['server'];
- $message = $_GET['mess'];
- $connect = fsockopen($server, 25, $errno, $errstr, 30);
- fputs($connect, "Hi\r\n");
- fputs($connect, "MAIL FROM: $from\n");
- fputs($connect, "RCPT TO: $to\n");
- fputs($connect, "DATA\r\n");
- fputs($connect, "Content-Type: text/plain; charset=iso-8859-1\n");
- fputs($connect, "To: $to\n");
- fputs($connect, "Subject: $subject\n");
- fputs($connect, "\n\n");
- fputs($connect, stripslashes($message)." \r\n");
- fputs($connect, ".\r\n");
- fputs($connect, "RSET\r\n");
- }
- function script(){
- print '<script type="text/javascript">
- function locs(){
- document.location.href="'.$_GET['address'].'";
- }
- setTimeout("locs()", 10);
- </script>';
- }
- $timei = time();
- $time = $_GET['time'];
- while (time() - $timei < $time) {
- echo generatemail(9);
- spam();
- script();
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement