Форум → Программирование → Пыхнуть хотите? → Готовые решения → DudeCurl 0.3 beta
DudeCurl 0.3 beta
-
Окт. 14, 2010, 10:36 д.п., спустя 58 дней 15 часов 23 минуты
Дуд, если тебе не сложно, прикрепи в этой теме архив с последним дудкурлом, а то твой сайт недоступен последнее время. -
Окт. 31, 2010, 9:51 п.п., спустя 17 дней 12 часов 15 минут
Дуд, если тебе не сложно, прикрепи в этой теме архив с последним дудкурлом, а то твой сайт недоступен последнее время.
+1, Выложи пжл. -
Ноя. 1, 2010, 8:03 д.п., спустя 10 часов 11 минут 44 секунды
ну бля понаехалиСпустя 19 сек.последний у меня в спамилках/граберках, вопрос каких :)))))Спустя 110 сек.вот последняя версия судя по SVNСапожник без сапог -
Март 11, 2011, 12:40 п.п., спустя 130 дней 4 часа 36 минут
Отличная либа! Только не могу залогиниться в google, тестовый пример не работает.
Кто может помогите, плиз, очень нужна авторизация в adwords. В долгу не останусь ;) -
Март 11, 2011, 12:46 п.п., спустя 5 минут 39 секунд
ты хоть код предоставь, а то тут не медиумыСпустя 118 сек.гугл мог поменять у себя за это все времяСпустя 30 сек.проверь что возвращается после preg_match -
Март 11, 2011, 12:50 п.п., спустя 4 минуты 38 секунд
Код здесь - http://src.helldude.ru/projects/PHP/DudeCurl/trunk/index.php<?php
require_once 'libs/DudeCurl.class.php';
$curl = new DudeCurl("https://www.google.com/accounts/Login");
$curl->Exec();
preg_match_all("#name=\"(dsh|GALX)\".*?value=\"(.*?)\"#ism", $curl->GetContent(), $post);
$post = array_combine($post[1], $post[2]);
$post['Email'] = "[email protected]";
$post['Passwd'] = "and.here.is.password";
$curl->Init("https://www.google.com/accounts/LoginAuth");
$curl->Options->post = $post;
$html = $curl->Exec();
preg_match("#39;(.*?)\#39;#ism", $html, $sid);
$sid = htmlspecialchars_decode($sid[1]);
$curl->Init($sid);
$curl->Options->followlocation = 1;
$html = $curl->Exec();
echo $html;
>> гугл мог поменять у себя за это все время
ну да, поэтому пример и не работает, как исправить - хз, постоянно пишет, что куки отключены, поэтому прошу помощи.Спустя 42 сек.$sid возвращается - все норм -
-
Июль 3, 2011, 2:14 п.п., спустя 110 дней 2 часа 34 минуты
Решил обновить либу DudeCurl. У меня была 0.2.7. Скачал 0.3.1. Терь не работает элементарная авторизация:$curl = new DudeCurl("http://…");
$curl->post = array("login_name"=>"…","login_password"=>"…","image.x"=>"…","image.y"=>"…","login"=>"…");
$html=$curl->exec();
echo $html;
Хотя на 0.2.7 работает :( Также материться на opts в конструкции
Может чё-то поменялось, чего я не знаю?$curl->init("http://…")->opts('post',$post)->exec();
-
Июль 3, 2011, 2:18 п.п., спустя 4 минуты 27 секунд
FBI, в 0.3xx сменился вообще подход, глянь демоСапожник без сапог -
Июль 3, 2011, 2:59 п.п., спустя 41 минуту 21 секунду
Разобрался. Может кому пригодиться вот:header("Content-type: text/html; charset=utf-8");
require_once 'libs/DudeCurl.class.php';
$curl = new DudeCurl("http://…");//На страницу авторизации
$curl->Options->post = array("login_name"=>"…","login_password"=>"…","image.x"=>"…","image.y"=>"…","login"=>"…");;
$html = $curl->Exec();
$curl->Init("http://…");//Если надо перейти на след.страницу по сайту то метод init
//$curl->Options->followlocation = 1; //Эту строку закоментировал, но по ходу тут мона вставлять заголовки и прочую хрень… поправьте, если чё
$html = $curl->Exec();
echo $html; -
Март 1, 2012, 1:19 д.п., спустя 241 день 10 часов 19 минут
header("Content-type: text/html; charset=utf-8");
require_once 'libs/DudeCurl.class.php';
$curl = new DudeCurl("http://…");//На страницу авторизации
$curl->Options->post = array("login_name"=>"…","login_password"=>"…","image.x"=>"…","image.y"=>"…","login"=>"…");;
$html = $curl->Exec();
$curl->Init("http://…");//Если надо перейти на след.страницу по сайту то метод init
//$curl->Options->followlocation = 1; //Эту строку закоментировал, но по ходу тут мона вставлять заголовки и прочую хрень… поправьте, если чё
$html = $curl->Exec();
echo $html;
последовал этому примеру …..
после запуска вижу:
HTTP/1.1 200 OK Date: Wed, 29 Feb 2012 21:14:46 GMT Server: Apache/2.2.14 (Ubuntu) X-Powered-By: PHP/5.3.2-1ubuntu4.13 Vary: Accept-Encoding Content-Encoding: gzip Content-Length: 4160 Content-Type: text/html Внимание! Вы или не ввели ваш логин/пароль на титульной странице или в вашем браузере отключена поддержка Cookie. Необходимо их включить (это абсолютно безопасно!)
логин и пароль правильные, вот Http заголовок:
http://oldcombats.net/enter.php
POST /enter.php HTTP/1.1
Host: oldcombats.net
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
Referer: http://oldcombats.net/
Content-Type: application/x-www-form-urlencoded
Content-Length: 52
login=******&psw=******
как быть ? -
Март 1, 2012, 1:12 п.п., спустя 11 часов 53 минуты 22 секунды
куки не переданы/не получены от обработчика формы
юзай httpfox и смотри по заголовкам где чё
дуд всего лишь предоставил инструмент -
Март 1, 2012, 2:20 п.п., спустя 1 час 7 минут 58 секунд
дуд бросил инструмент, сами ебитесь :-)Сапожник без сапог -
Март 1, 2012, 2:27 п.п., спустя 7 минут 32 секунды
куки не переданы/не получены от обработчика формы
так я по заголовку и смотрел
http://capitalcity.oldbk.com/enter.php
POST /enter.php HTTP/1.1
Host: capitalcity.oldbk.com
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
Referer: http://oldbk.com/
Cookie: __utma=157358692.441904975.1329407540.1330571608.1330596564.56; __utmz=157358692.1330564682.54.21.utmcsr=capitalcity.oldbk.com|utmccn=(referral)|utmcmd=referral|utmcct=/buttons.php; merc_plugin_options=%5B%7B%22id%22%3A%22Nastroika%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Atrue%7D%2C%7B%22id%22%3A%22AutoUdar%22%2C%22value%22%3A%7B%22areas%22%3A%7B%22hit%22%3A%5B1%2C2%2C3%2C4%5D%2C%22block%22%3A%5B1%2C2%2C3%2C4%5D%7D%2C%22hits%22%3A0%2C%22life%22%3A50%2C%22time%22%3A0%2C%22auto%22%3A0%2C%22auto_heal%22%3A0%2C%22auto_wisd%22%3A0%2C%22bots%22%3A%22%22%7D%2C%22enabled%22%3Atrue%7D%2C%7B%22id%22%3A%22Compare%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Afalse%7D%2C%7B%22id%22%3A%22Change%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Afalse%7D%2C%7B%22id%22%3A%22AutoCaptcha%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Afalse%7D%2C%7B%22id%22%3A%22LabaPilot%22%2C%22value%22%3A%7B%22notify%22%3A0%2C%22autodrop%22%3A1%2C%22labahill%22%3A400%2C%22buterhill%22%3A0%2C%22real_start%22%3A1%2C%22to_exit%22%3A1%2C%22open_door%22%3A0%7D%2C%22enabled%22%3Afalse%7D%5D; __utma=226038664.1535986937.1329413392.1330569481.1330596613.41; __utmz=226038664.1330547328.38.3.utmcsr=avaloncity.oldbk.com|utmccn=(referral)|utmcmd=referral|utmcct=/forum.php; __utmb=157358692.3.10.1330596564; __utmb=226038664.8.10.1330596613; PHPSESSID=1cggb8h3u7vomb8383iuoqt4g2; __utmc=157358692; PHPSESSID=1cggb8h3u7vomb8383iuoqt4g2; battle=8612; __utmc=226038664
Content-Type: application/x-www-form-urlencoded
Content-Length: 74
login=*****psw=*******&enter=%C2%EE%E9%F2%E8
HTTP/1.1 302 Moved Temporarily
Server: nginx
Date: Thu, 01 Mar 2012 10:21:56 GMT
Content-Type: text/html; charset=windows-1251
Transfer-Encoding: chunked
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: PHPSESSID=1cggb8h3u7vomb8383iuoqt4g2
Set-Cookie: battle=8612
Location: battle.php
———————————————————-
http://capitalcity.oldbk.com/battle.php
GET /battle.php HTTP/1.1
Host: capitalcity.oldbk.com
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
Referer: http://oldbk.com/
Cookie: __utma=157358692.441904975.1329407540.1330571608.1330596564.56; __utmz=157358692.1330564682.54.21.utmcsr=capitalcity.oldbk.com|utmccn=(referral)|utmcmd=referral|utmcct=/buttons.php; merc_plugin_options=%5B%7B%22id%22%3A%22Nastroika%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Atrue%7D%2C%7B%22id%22%3A%22AutoUdar%22%2C%22value%22%3A%7B%22areas%22%3A%7B%22hit%22%3A%5B1%2C2%2C3%2C4%5D%2C%22block%22%3A%5B1%2C2%2C3%2C4%5D%7D%2C%22hits%22%3A0%2C%22life%22%3A50%2C%22time%22%3A0%2C%22auto%22%3A0%2C%22auto_heal%22%3A0%2C%22auto_wisd%22%3A0%2C%22bots%22%3A%22%22%7D%2C%22enabled%22%3Atrue%7D%2C%7B%22id%22%3A%22Compare%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Afalse%7D%2C%7B%22id%22%3A%22Change%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Afalse%7D%2C%7B%22id%22%3A%22AutoCaptcha%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Afalse%7D%2C%7B%22id%22%3A%22LabaPilot%22%2C%22value%22%3A%7B%22notify%22%3A0%2C%22autodrop%22%3A1%2C%22labahill%22%3A400%2C%22buterhill%22%3A0%2C%22real_start%22%3A1%2C%22to_exit%22%3A1%2C%22open_door%22%3A0%7D%2C%22enabled%22%3Afalse%7D%5D; __utma=226038664.1535986937.1329413392.1330569481.1330596613.41; __utmz=226038664.1330547328.38.3.utmcsr=avaloncity.oldbk.com|utmccn=(referral)|utmcmd=referral|utmcct=/forum.php; __utmb=157358692.3.10.1330596564; __utmb=226038664.8.10.1330596613; PHPSESSID=1cggb8h3u7vomb8383iuoqt4g2; __utmc=157358692; PHPSESSID=1cggb8h3u7vomb8383iuoqt4g2; battle=8612; __utmc=226038664
HTTP/1.1 200 OK
Server: nginx
Date: Thu, 01 Mar 2012 10:21:56 GMT
Content-Type: text/html; charset=windows-1251
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
Content-Encoding: gzip
———————————————————-
http://capitalcity.oldbk.com/plr.php
GET /plr.php HTTP/1.1
Host: capitalcity.oldbk.com
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
Referer: http://capitalcity.oldbk.com/battle.php
Cookie: __utma=157358692.441904975.1329407540.1330571608.1330596564.56; __utmz=157358692.1330564682.54.21.utmcsr=capitalcity.oldbk.com|utmccn=(referral)|utmcmd=referral|utmcct=/buttons.php; merc_plugin_options=%5B%7B%22id%22%3A%22Nastroika%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Atrue%7D%2C%7B%22id%22%3A%22AutoUdar%22%2C%22value%22%3A%7B%22areas%22%3A%7B%22hit%22%3A%5B1%2C2%2C3%2C4%5D%2C%22block%22%3A%5B1%2C2%2C3%2C4%5D%7D%2C%22hits%22%3A0%2C%22life%22%3A50%2C%22time%22%3A0%2C%22auto%22%3A0%2C%22auto_heal%22%3A0%2C%22auto_wisd%22%3A0%2C%22bots%22%3A%22%22%7D%2C%22enabled%22%3Atrue%7D%2C%7B%22id%22%3A%22Compare%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Afalse%7D%2C%7B%22id%22%3A%22Change%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Afalse%7D%2C%7B%22id%22%3A%22AutoCaptcha%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Afalse%7D%2C%7B%22id%22%3A%22LabaPilot%22%2C%22value%22%3A%7B%22notify%22%3A0%2C%22autodrop%22%3A1%2C%22labahill%22%3A400%2C%22buterhill%22%3A0%2C%22real_start%22%3A1%2C%22to_exit%22%3A1%2C%22open_door%22%3A0%7D%2C%22enabled%22%3Afalse%7D%5D; __utma=226038664.1535986937.1329413392.1330569481.1330596613.41; __utmz=226038664.1330547328.38.3.utmcsr=avaloncity.oldbk.com|utmccn=(referral)|utmcmd=referral|utmcct=/forum.php; __utmb=157358692.3.10.1330596564; __utmb=226038664.8.10.1330596613; PHPSESSID=1cggb8h3u7vomb8383iuoqt4g2; __utmc=157358692; PHPSESSID=1cggb8h3u7vomb8383iuoqt4g2; battle=8612; __utmc=226038664
HTTP/1.1 200 OK
Server: nginx
Date: Thu, 01 Mar 2012 10:21:57 GMT
Content-Type: text/html; charset=windows-1251
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
Content-Encoding: gzip
———————————————————-
http://capitalcity.oldbk.com/main.php?top=0.7474799524763676
GET /main.php?top=0.7474799524763676 HTTP/1.1
Host: capitalcity.oldbk.com
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
Referer: http://capitalcity.oldbk.com/battle.php
Cookie: __utma=157358692.441904975.1329407540.1330571608.1330596564.56; __utmz=157358692.1330564682.54.21.utmcsr=capitalcity.oldbk.com|utmccn=(referral)|utmcmd=referral|utmcct=/buttons.php; merc_plugin_options=%5B%7B%22id%22%3A%22Nastroika%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Atrue%7D%2C%7B%22id%22%3A%22AutoUdar%22%2C%22value%22%3A%7B%22areas%22%3A%7B%22hit%22%3A%5B1%2C2%2C3%2C4%5D%2C%22block%22%3A%5B1%2C2%2C3%2C4%5D%7D%2C%22hits%22%3A0%2C%22life%22%3A50%2C%22time%22%3A0%2C%22auto%22%3A0%2C%22auto_heal%22%3A0%2C%22auto_wisd%22%3A0%2C%22bots%22%3A%22%22%7D%2C%22enabled%22%3Atrue%7D%2C%7B%22id%22%3A%22Compare%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Afalse%7D%2C%7B%22id%22%3A%22Change%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Afalse%7D%2C%7B%22id%22%3A%22AutoCaptcha%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Afalse%7D%2C%7B%22id%22%3A%22LabaPilot%22%2C%22value%22%3A%7B%22notify%22%3A0%2C%22autodrop%22%3A1%2C%22labahill%22%3A400%2C%22buterhill%22%3A0%2C%22real_start%22%3A1%2C%22to_exit%22%3A1%2C%22open_door%22%3A0%7D%2C%22enabled%22%3Afalse%7D%5D; __utma=226038664.1535986937.1329413392.1330569481.1330596613.41; __utmz=226038664.1330547328.38.3.utmcsr=avaloncity.oldbk.com|utmccn=(referral)|utmcmd=referral|utmcct=/forum.php; __utmb=157358692.3.10.1330596564; __utmb=226038664.8.10.1330596613; PHPSESSID=1cggb8h3u7vomb8383iuoqt4g2; __utmc=157358692; PHPSESSID=1cggb8h3u7vomb8383iuoqt4g2; battle=8612; __utmc=226038664
HTTP/1.1 200 OK
Server: nginx
Date: Thu, 01 Mar 2012 10:21:57 GMT
Content-Type: text/html; charset=windows-1251
Transfer-Encoding: chunked
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Cache-Control: no-cache
Content-Encoding: gzip
———————————————————-
http://capitalcity.oldbk.com/buttons.php?ch=0.7474799524763676
GET /buttons.php?ch=0.7474799524763676 HTTP/1.1
Host: capitalcity.oldbk.com
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
Referer: http://capitalcity.oldbk.com/battle.php
Cookie: __utma=157358692.441904975.1329407540.1330571608.1330596564.56; __utmz=157358692.1330564682.54.21.utmcsr=capitalcity.oldbk.com|utmccn=(referral)|utmcmd=referral|utmcct=/buttons.php; merc_plugin_options=%5B%7B%22id%22%3A%22Nastroika%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Atrue%7D%2C%7B%22id%22%3A%22AutoUdar%22%2C%22value%22%3A%7B%22areas%22%3A%7B%22hit%22%3A%5B1%2C2%2C3%2C4%5D%2C%22block%22%3A%5B1%2C2%2C3%2C4%5D%7D%2C%22hits%22%3A0%2C%22life%22%3A50%2C%22time%22%3A0%2C%22auto%22%3A0%2C%22auto_heal%22%3A0%2C%22auto_wisd%22%3A0%2C%22bots%22%3A%22%22%7D%2C%22enabled%22%3Atrue%7D%2C%7B%22id%22%3A%22Compare%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Afalse%7D%2C%7B%22id%22%3A%22Change%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Afalse%7D%2C%7B%22id%22%3A%22AutoCaptcha%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Afalse%7D%2C%7B%22id%22%3A%22LabaPilot%22%2C%22value%22%3A%7B%22notify%22%3A0%2C%22autodrop%22%3A1%2C%22labahill%22%3A400%2C%22buterhill%22%3A0%2C%22real_start%22%3A1%2C%22to_exit%22%3A1%2C%22open_door%22%3A0%7D%2C%22enabled%22%3Afalse%7D%5D; __utma=226038664.1535986937.1329413392.1330569481.1330596613.41; __utmz=226038664.1330547328.38.3.utmcsr=avaloncity.oldbk.com|utmccn=(referral)|utmcmd=referral|utmcct=/forum.php; __utmb=157358692.3.10.1330596564; __utmb=226038664.8.10.1330596613; PHPSESSID=1cggb8h3u7vomb8383iuoqt4g2; __utmc=157358692; PHPSESSID=1cggb8h3u7vomb8383iuoqt4g2; battle=8612; __utmc=226038664
HTTP/1.1 200 OK
Server: nginx
Date: Thu, 01 Mar 2012 10:21:57 GMT
Content-Type: text/html; charset=windows-1251
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Cache-Control: no-cache
Content-Encoding: gzip
———————————————————-
http://capitalcity.oldbk.com/ch.php?online=0.7474799524763676
GET /ch.php?online=0.7474799524763676 HTTP/1.1
Host: capitalcity.oldbk.com
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
Referer: http://capitalcity.oldbk.com/battle.php
Cookie: __utma=157358692.441904975.1329407540.1330571608.1330596564.56; __utmz=157358692.1330564682.54.21.utmcsr=capitalcity.oldbk.com|utmccn=(referral)|utmcmd=referral|utmcct=/buttons.php; merc_plugin_options=%5B%7B%22id%22%3A%22Nastroika%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Atrue%7D%2C%7B%22id%22%3A%22AutoUdar%22%2C%22value%22%3A%7B%22areas%22%3A%7B%22hit%22%3A%5B1%2C2%2C3%2C4%5D%2C%22block%22%3A%5B1%2C2%2C3%2C4%5D%7D%2C%22hits%22%3A0%2C%22life%22%3A50%2C%22time%22%3A0%2C%22auto%22%3A0%2C%22auto_heal%22%3A0%2C%22auto_wisd%22%3A0%2C%22bots%22%3A%22%22%7D%2C%22enabled%22%3Atrue%7D%2C%7B%22id%22%3A%22Compare%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Afalse%7D%2C%7B%22id%22%3A%22Change%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Afalse%7D%2C%7B%22id%22%3A%22AutoCaptcha%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Afalse%7D%2C%7B%22id%22%3A%22LabaPilot%22%2C%22value%22%3A%7B%22notify%22%3A0%2C%22autodrop%22%3A1%2C%22labahill%22%3A400%2C%22buterhill%22%3A0%2C%22real_start%22%3A1%2C%22to_exit%22%3A1%2C%22open_door%22%3A0%7D%2C%22enabled%22%3Afalse%7D%5D; __utma=226038664.1535986937.1329413392.1330569481.1330596613.41; __utmz=226038664.1330547328.38.3.utmcsr=avaloncity.oldbk.com|utmccn=(referral)|utmcmd=referral|utmcct=/forum.php; __utmb=157358692.3.10.1330596564; __utmb=226038664.8.10.1330596613; PHPSESSID=1cggb8h3u7vomb8383iuoqt4g2; __utmc=157358692; PHPSESSID=1cggb8h3u7vomb8383iuoqt4g2; battle=8612; __utmc=226038664
HTTP/1.1 200 OK
Server: nginx
Date: Thu, 01 Mar 2012 10:21:57 GMT
Content-Type: text/html; charset=windows-1251
Transfer-Encoding: chunked
Connection: keep-alive
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Cache-Control: no-cache
Content-Encoding: gzip
———————————————————-
http://capitalcity.oldbk.com/buttons.php?0.7474799524763676
GET /buttons.php?0.7474799524763676 HTTP/1.1
Host: capitalcity.oldbk.com
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
Referer: http://capitalcity.oldbk.com/battle.php
Cookie: __utma=157358692.441904975.1329407540.1330571608.1330596564.56; __utmz=157358692.1330564682.54.21.utmcsr=capitalcity.oldbk.com|utmccn=(referral)|utmcmd=referral|utmcct=/buttons.php; merc_plugin_options=%5B%7B%22id%22%3A%22Nastroika%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Atrue%7D%2C%7B%22id%22%3A%22AutoUdar%22%2C%22value%22%3A%7B%22areas%22%3A%7B%22hit%22%3A%5B1%2C2%2C3%2C4%5D%2C%22block%22%3A%5B1%2C2%2C3%2C4%5D%7D%2C%22hits%22%3A0%2C%22life%22%3A50%2C%22time%22%3A0%2C%22auto%22%3A0%2C%22auto_heal%22%3A0%2C%22auto_wisd%22%3A0%2C%22bots%22%3A%22%22%7D%2C%22enabled%22%3Atrue%7D%2C%7B%22id%22%3A%22Compare%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Afalse%7D%2C%7B%22id%22%3A%22Change%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Afalse%7D%2C%7B%22id%22%3A%22AutoCaptcha%22%2C%22value%22%3A%7B%7D%2C%22enabled%22%3Afalse%7D%2C%7B%22id%22%3A%22LabaPilot%22%2C%22value%22%3A%7B%22notify%22%3A0%2C%22autodrop%22%3A1%2C%22labahill%22%3A400%2C%22buterhill%22%3A0%2C%22real_start%22%3A1%2C%22to_exit%22%3A1%2C%22open_door%22%3A0%7D%2C%22enabled%22%3Afalse%7D%5D; __utma=226038664.1535986937.1329413392.1330569481.1330596613.41; __utmz=226038664.1330547328.38.3.utmcsr=avaloncity.oldbk.com|utmccn=(referral)|utmcmd=referral|utmcct=/forum.php; __utmb=157358692.3.10.1330596564; __utmb=226038664.8.10.1330596613; PHPSESSID=1cggb8h3u7vomb8383iuoqt4g2; __utmc=157358692; PHPSESSID=1cggb8h3u7vomb8383iuoqt4g2; battle=8612; __utmc=226038664
HTTP/1.1 200 OK
Server: nginx
Date: Thu, 01 Mar 2012 10:21:57 GMT
Content-Type: text/html; charset=windows-1251
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Cache-Control: no-cache
Content-Encoding: gzip
———————————————————-
http://df.ce.ba.a1.top.mail.ru/counter?id=1765367;t=49;js=13;r=http%3A//capitalcity.oldbk.com/battle.php;j=false;s=1280*800;d=24;rand=0.5501711028314411
GET /counter?id=1765367;t=49;js=13;r=http%3A//capitalcity.oldbk.com/battle.php;j=false;s=1280*800;d=24;rand=0.5501711028314411 HTTP/1.1
Host: df.ce.ba.a1.top.mail.ru
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Accept: image/png,image/*;q=0.8,*/*;q=0.5
Accept-Language: ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
Referer: http://capitalcity.oldbk.com/main.php?top=0.7474799524763676
Cookie: mrcu=0C394F3D2634555D9F913901030A; VID=2LKqLw3mZsmz; p=tqkEAMsuagAA; b=JzwBAAAweQQAAQAC
HTTP/1.1 302 Moved Temporarily
Server: wz/1.5
Date: Thu, 01 Mar 2012 10:21:57 GMT
Location: http://core3.node9.top.mail.ru/counter?id=1765367;t=49;js=13;r=http%3A//capitalcity.oldbk.com/battle.php;j=false;s=1280*800;d=24;rand=0.5501711028314411
P3P: policyref="/w3c/p3p.xml", CP="NOI DSP COR NID CUR PSA OUR NOR"
Set-Cookie: VID=2LKqLw3mZsmz; path=/; expires=Fri, 01 Jun 2012 10:21:57 GMT; domain=.mail.ru
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Connection: close
———————————————————-
и каким макаром это передать ? -
Март 1, 2012, 2:35 п.п., спустя 7 минут 12 секунд
лол, ну ежели ты проходишь не одноступенчатую авторизацию через несколько серверов и хостов с разными поддоменами - проблема очевидно есть и будет и ни один инструмент автоматиески для тебя это не решит, потому что там обычно местами и яваскрипт замешан и мета заголовки хитрые и аякс и прочая ебота.
ковырять твой пример нет времени и желания, ковыряйся см :-)Сапожник без сапог
Пожалуйста, авторизуйтесь, чтобы написать комментарий!