Показать сообщение отдельно

  #8  
Старый 02.03.2008, 17:05
GreenTiger
Banned
Регистрация: 07.12.2007
Сообщений: 69
С нами: 9698270

Репутация: 31
По умолчанию

PHP код:
<?php
    
// Vkontakte autoregger
    // 28.02.2008
    // (c) Isis, x3k.ru, xeka.ru

    
set_time_limit(0);

    echo    
"<center>CHMOD 777 need on this directory<br/><br/>
            <form method='post'>
                <input type='text' name='name' value='First name' /><br/>
                <input type='text' name='surname' value='Last name' /><br/>
                <input type='text' name='pwd' title='(min 6 chars)' value='password' /><br/>
                <input type='submit' name='sub' value='Go!' /><br/>
            </form>"
;

    if(isset(
$_POST['sub']))
    {
        
$x = 1;
        while(
1 == 1)
        {
            
$xek    = file_get_contents('http://vkontakte.ru/reg0');
            
$code    = '';
            
$mu        = '';
            
$cont    = '';

            
$mad    = 'xek'.rand(111111,999999);
            
$name    = $_POST['name'];
            
$sur    = $_POST['surname'];
            
$pwd    = $_POST['pwd'];

            
$usl1    = preg_match('#<input type="hidden" name="code" id="code" value="(.*)">#', $xek, $outcode);
            
$usl2    = preg_match('#<input type="hidden" name="mu" id="mu" value="(.*)">#', $xek, $outmu);

            if(
$usl1 && $usl2)
            {
                
$code    = $outcode['1'];
                
$mu        = $outmu['1'];

                
$host = "vkontakte.ru";
                
$port = "80";
                
$post = "subm=1&time=reg&code=".$code."&mu=".$mu."&first_name=".$name."&last_name=".$sur."&email=".$mad."%40temporaryinbox.com&pass=".$pwd;

                
$httpq     =
                
"POST http://vkontakte.ru/profileEdit.php?page=education HTTP/1.1\r\n".
                
"Host: ".$host."\r\n".
                
"Referer: http://vkontakte.ru/reg0\r\n".
                
"User-Agent: x3k reger by Isis\r\n".
                
"Content-Type: application/x-www-form-urlencoded\r\n".
                
"Content-Length: ".strlen($post)."\r\n\r\n".$post;

                
$sock = fsockopen($host, $port, $errno, $errstr, 5);

                if(
$sock)
                {
                    
fwrite($sock, $httpq);
                    
$cont    = fread($sock, 6500);
                    
fclose($sock);
                }

                if(
strpos($cont, 'confirm') !== false)
                {
                    echo 
'Ждем появления письма на мыле '.$mad.'@temporaryinbox.com...';flush();sleep(3);echo '..';flush();sleep(3);echo '..<br/>';flush();sleep(3);
                    
$box    = file_get_contents('http://www.temporaryinbox.com/inbox.php?inbox='.$mad);
                    
preg_match("#location.href='(.*)';#", $box, $poch);
                    
$pri    = $poch['1'];

                    
$mail    = file_get_contents('http://www.temporaryinbox.com/'.$pri);
                    
$conf    = '';

                    
preg_match('#code=(.*)" target="_blank">#', $mail, $conf);
                    
$key    = $conf['1'];

                    
$host = "vkontakte.ru";
                    
$port = "80";
                    
$post = 'code='.$key;

                    
$httpq     =
                    
"POST http://vkontakte.ru/confirm.php HTTP/1.1\r\n".
                    
"Host: ".$host."\r\n".
                    
"Referer: http://win.mail.ru\r\n".
                    
"User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12\r\n".
                    
"Content-Type: application/x-www-form-urlencoded\r\n".
                    
"Set-Cookie: remixchk=5\r\n".
                    
"Content-Length: ".strlen($post)."\r\n\r\n".$post;

                    
$sock = fsockopen($host, $port, $errno, $errstr, 5);

                    if (
$sock)
                    {
                        
fwrite($sock, $httpq);
                        
$cont    = fread($sock, 4096);
                        
fclose($sock);
                    }

                    if(
strpos($cont, 'profile.php') !== false)
                    {
                        
$usl3    = preg_match('#remixmid=(.*); expires#', $cont, $outid);
                        echo 
'Completed '.($x).' - '.$mad.'@temporaryinbox.com<br/>';
                        
$fp    = fopen('accounts.txt', 'a') or die('Need CHMOD 777 for this directory');
                        
fwrite($fp, $mad.'@temporaryinbox.com:'.$pwd.':'.$outid['1']."\r\n");
                        
fclose($fp);
                        
$x++;
                    }
                }
                else
                {
                    
'Письмо пока не пришло..пролетаем (<br/>';
                }
            }
            else
            {
                echo 
'Не найдено, завершаем<br/ >';
            }
        }
    }

    echo 
'</center>';
?>

Последний раз редактировалось GreenTiger; 02.03.2008 в 17:19..
 
Ответить с цитированием