Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
<?php
include ('../curl.php');
//$param[0]='http://vkontakte.ru/search.php?subm=1&act=adv&status=4&bday_year=1990&uni_city=2&online=1&o=0&st=';
//$param[1]='http://vkontakte.ru/search.php?subm=1&act=adv&bday_year=1991&uni_city=2&online=1&o=0&st=';
//$cookie='remixfriendsCommon=1; remixfriends=1; remixchk=5; remixyear=1; remixfilters=1023; remixvideos=1; remixwall=1; remixuCity=1; remixnotes=1; remixalbums=1; remixaudios=1; remixautobookmark=30; remixTopicsBar=1; remixpstatus=1; remixcomments_filter=photo_comments%2Cvideo_comments%2Ctopic_comments%2Cnote_comments; remixpersonal=0; remixfriendsOnline=1; remixgroups=0; remixopinions=1; remixforums=1; remixastatus=1; remixclosed_tabs=0; remixlang=0; audio_vol=80; remixmid=6120069; remixemail=modelordenator%40gmail.com; remixpass=b52cfb6388283285285db43b3a590b13';
//$np=1;
$browser="Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14";
function socket_do($host,$vars,$service_uri,$browser,$cookies='',$sread=1,$method='POST',$ref='',$addheaders=1,$proxy=false,$proxyport=0,$HTTP='1.0')
{
global $ajax;
$ret="";
$header="Host: vkontakte.ru\r\n
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 WebMoney Advisor\r\n
Accept: image/png,image/*;q=0.8,*/*;q=0.5\r\n
Accept-Language: ru,en-us;q=0.7,en;q=0.3\r\n
Accept-Encoding: gzip,deflate\r\n
Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7\r\n
Keep-Alive: 300\r\n
Connection: keep-alive\r\n
Referer: [url]http://vkontakte.ru/reg0\r\n[/url]
Cookie: remixchk=5; remixlang=0";
if($proxy)
{
$addquery="$method http://$host$service_uri HTTP/$HTTP\r\n";
$fp=@fsockopen("tcp://".$proxy,$proxyport,$errno,$errstr,30);
}
else
{
$addquery="$method $service_uri HTTP/$HTTP\r\n";
$fp=@fsockopen("tcp://".$host,80,$errno,$errstr,30);
}
if(!$fp)
{
if($ajax)
print "addMes('<font color=red>Socket error: <i>$errstr ($errno)</i></font><br>');nextReg2();";
else
print "<font color=red>Socket error: <i>$errstr ($errno)</i></font>";
exit();
}
stream_set_timeout($fp,30);
fputs($fp,$addquery);
fputs($fp,$header.$vars);
if($sread)
{
while(!feof($fp))
{
$ret.=fgets($fp, 128);
}
}
fclose($fp);
return $ret;
}
$cookie='remixchk=5; remixlang=0';
if(!isset($_POST['first_name'])){
$p=curl('http://vkontakte.ru/reg0',false,$freedata,'http://vkontakte.ru/reg0',$cookie);
//echo $p;
preg_match_all('#<input type="hidden" name="([^"]*)" id="([^"]*)" value="([^"]*)">#',$p,$f);
print_r($f);
$ret=socket_do('vkontakte.ru','','/captcha.php?sid='.$a['sid'],$browser,'',1,'GET','http://vkontakte.ru/reg0',0,false,0);
$re=explode('
',$ret);
$ret='';
for($i=12;$i<count($re);$i++){
$ret.=$re[$i].'
';
}
//print_r($re);
// echo $ret;
$fp = fopen ('captcha.jpg', "w");
fwrite($fp,$ret);
fclose($fp);
echo '<img src="captcha.jpg"/>';
echo '<form name="form1" method="post" action="regv.php">
<label>
<input name="reg_code" type="text" id="reg_code" value="capcha">
<br>
<input name="first_name" type="text" id="first_name" value="Max">
<br>
<input name="last_name" type="text" id="last_name" value="Lord">
<br>
<input name="email" type="text" id="email" value="modelordma@gmail.com">
<br>';
for($i=0;$i<count($f[1]);$i++){
$a[$f[2][$i]] = $f[3][$i];
echo '
<input name="'.$f[2][$i].'" type="text" id="'.$f[2][$i].'" value="'.$f[3][$i].'">
<br>';
}
echo '
<input type="submit" name="Submit" value="Submit">
<br>
</label>
</form>';
//print_r($a);
} else {
foreach ($_POST as $key=>$value){
$a[$key]=$value;
}
for($k=0;$k<10;$k++){
$c[]=$k;
}
$pass='';
for($p=0;$p<8;$p++){
shuffle ($c);
$pass.=$c[0];
}
$a['pass']=$pass;
$a['country']='1';
$a['uni_city']='2';
$a['other_city_name']='%CD%E0%E7%E2%E0%ED%E8%E5+%E3%EE%F0%EE%E4%E0&';
$a['school1']='nil';
$a['school1_type']='0';
$a['university']='nil';
$a['other_university_name']='%CD%E0%E7%E2%E0%ED%E8%E5+%E3%EE%F0%EE%E4%E0&';
$a['other_faculty_name']='%CD%E0%E7%E2%E0%ED%E8%E5+%F4%E0%EA%F3%EB%FC%F2%E5%F2%E0';
$a['other_chair_name']='%CD%E0%E7%E2%E0%ED%E8%E5+%EA%E0%F4%E5%E4%F0%FB';
$page=curl('http://vkontakte.ru/profileEdit.php?page=education',false,$a,'http://vkontakte.ru/reg0',$cookie);
echo $page;
print_r($a);
}
//subm=1&sid=86b9c7b3f9442f539253535f90685891&time=reg&code=3ef061137672dc0a8251d76ed26bf6f5&mu=1830522969&first_name=dsmaskds&last_name=fdkreopre&email=dffjkfeow%40list.ru&pass=%FC%F9%E2%F3%E4%F9%EA%E2®_code=yqgq45&country=1&uni_city=2&other_city_name=%CD%E0%E7%E2%E0%ED%E8%E5+%E3%EE%F0%EE%E4%E0&school1=nil&school1_type=0&university=nil&other_university_name=%CD%E0%E7%E2%E0%ED%E8%E5+%E3%EE%F0%EE%E4%E0&other_faculty_name=%CD%E0%E7%E2%E0%ED%E8%E5+%F4%E0%EA%F3%EB%FC%F2%E5%F2%E0&other_chair_name=%CD%E0%E7%E2%E0%ED%E8%E5+%EA%E0%F4%E5%E4%F0%FB
?>
я в июле на c# писал
-полуавтоматическая рега
-авто заполнение анкеты
-сборщик id
-спамер по личкам
Ща не проверял работоспособность