Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате
Форум программистов > Perl: Общие вопросы > perl LWP форма ввода


Автор: Loki 18.2.2017, 13:32
Подскажите по LWP в perl'е.
Вот такая форма:
Код

    <input type="text" class="big_text" name="email" id="email" value="" placeholder="Телефон или e-mail" />
    <input type="password" class="big_text" name="pass" id="pass" value="" placeholder="Пароль" />

Не хотят логинится на сайт.
Код

use strict;
use LWP::UserAgent;
use HTTP::Cookies;

    my $cookie_jar = HTTP::Cookies->new( 
     file => 'lwp_cookies.txt',
     autosave => 1,
     ignore_discard => 1,
   );

    my $ua = LWP::UserAgent->new(
        ssl_opts => { verify_hostname => 1 }, 
        cookie_jar => $cookie_jar,
        );

    my $response = $ua->post('https://site.com/login.php',
                    email => '[email protected]',
                    pass => 'pass'
                   );

 if ($response->is_success) {
     print $response->decoded_content;
 }
 else {
     die $response->status_line;
 }


1;

Правильно ли я указал дериктивы email и pass в $ua->post?
Или возможно не так?
Нужно залогиниться на сайте, по https.

Автор: arto 19.2.2017, 16:35
da

Автор: Loki 20.2.2017, 10:56
Но не работает, что если сайт vkontakt, но он просто выдает странице входа снова.
Ни капч ничего нет, просто та же форма и все.

Автор: alezzz 20.2.2017, 13:44
Подставте юзерагент реального браузера, в браузере в инструменте разработчика посмотрите что передается в заголовке, ищите какие есть скрытые инпуты кроме email и pass.
В vk не авторизовался ни разу, говорю по опыту настройки авторизации в интернет-магазинах.

Автор: Loki 20.2.2017, 14:05
Ну вот так вот должно быть, но форма логина только прилетает заполненая в первом случае.
Код

my $response = $ua->post('https://vk.com/login',
                [
                    email => '[email protected]',
                    pass => 'pass'
                   ],
                );
                    
my $response = $ua->post('https://login.vk.com/?act=login',
                 [
                    email => '[email protected]',
                    pass => 'pass'
                   ],
                );

Во втором, приходит 302.
Форма в первом случае прилтает вот такая:
Код

  <form method="post" name="login" id="login_form" action="https://login.vk.com/?act=login">
    <input type="hidden" name="act" id="act" value="login">
    <input type="hidden" name="to" id="to" value=""/>
    <input type="hidden" name="expire" id="expire_input" value="" />
    <input type="hidden" name="_origin" value="https://vk.com" />
    <input type="hidden" name="ip_h" value="ce75412fff540a9f6d" />
    <input type="hidden" name="lg_h" value="8db7b2b04ef30a4eee" />
    <input type="text" class="big_text" name="email" id="email" value="[email protected]" placeholder="╨в╨╡╨╗╨╡╤Д╨╛╨╜ ╨╕╨╗╨╕ e-mail" />
    <input type="password" class="big_text" name="pass" id="pass" value="" placeholder="╨Я╨░╤А╨╛╨╗╤М" />
    <div class="checkbox" id="expire" onclick="checkbox(this);ge('expire_input').value=isChecked(this)?1:'';">╨з╤Г╨╢╨╛╨╣ ╨║╨╛╨╝╨┐╤М╤О╤В╨╡╤А</div>
    <div class="login_buttons_wrap">
      <button id="login_button" class="flat_button button_big_text login_button">╨Т╨╛╨╣╤В╨╕</button><button id="login_reg_button" class="flat_button button_big_text login_reg_button" onclick="nav.go('/join'); return cancelEvent(event);">╨а╨╡╨│╨╕╤Б╤В╤А╨░╤Ж╨╕╤П</button>
    </div>
  </form>

Автор: alezzz 21.2.2017, 08:49
Посмотрите в браузере в инструменте разработчика как происходит авторизация. Если все правильно сделать, то после https://login.vk.com/?act=login получите редирект 302 на https://vk.com/login.php, где получите каптчу. 

Автор: Loki 21.2.2017, 13:40
Капчи нет, только форма логина.
После логина выходит на первую страницу личной странички вконтакта.

Автор: Loki 25.2.2017, 13:46
Подскажите еще по скрипту, что не так, на странице которую я получаю после логина отображается
Цитата

window.loginSubmitError = function() {
  showFastBox('Предупреждениe', 'Не удается пройти авторизацию по защищенному соединению. Чаще всего это происходит, когда на Вашем компьютере установлены неправильные текущие дата и время. Пожалуйста, проверьте настройки даты и времени в системе и перезапустите браузер.');
}

Это сообщение видно всегда, при правильном и неправильном пароле.

Автор: Loki 27.2.2017, 10:36
Попробовал по другому, все равно не пускает.
Код

use strict;
use LWP::UserAgent;
use HTTP::Cookies;
use Encode qw(decode encode);
#use HTTP::Request::Common qw(GET POST);
#use MIME::Base64 qw(encode_base64);

    my $cookie_jar = HTTP::Cookies->new( 
     file => 'lwp_cookies.txt',
     autosave => 1,
     ignore_discard => 1,
   );

    my $ua = LWP::UserAgent->new(
        ssl_opts => { verify_hostname => 1 }, 
        cookie_jar => $cookie_jar,
        );
                    #$ua->timeout(10);
                    #$ua->agent('Opera/9.62 (Windows NT 6.0; U; ru) Presto/2.1.1');
     #my $response = $ua->post('https://vk.com/login', { email => '[email protected]', pass => 'pass' } )->as_string; 
     my $response = $ua->post('https://vk.com/login', #https://login.vk.com/?act=login
                    [
                    email => '[email protected]',
                    pass => 'pass'
                   ],
                    );

 if ($response->is_success) {
     #print $response->decoded_content;
     print encode("cp866", $response->decoded_content);
 }
 else {
     die $response->status_line;
 }


1;


Автор: Loki 27.2.2017, 11:00
Вот еще Data Dumper'ом задампил, может подскажиет чего не так делаю?
Код

                '_rc' => '200',
                 '_headers' => bless( {
                                        'content-type' => 'text/html; charset=windows-1251',
                                        'date' => 'Mon, 27 Feb 2017 07:52:30 GMT',
                                        'x-ua-compatible' => 'IE=edge',
                                        'x-frame-options' => 'deny',
                                        'title' => '┬їюф | ┬╩юэЄръЄх',
                                        '::std_case' => {
                                                          'client-response-num' => 'Client-Response-Num',
                                                          'refresh' => 'Refresh',
                                                          'client-ssl-cipher' => 'Client-SSL-Cipher',
                                                          'client-peer' => 'Client-Peer',
                                                          'client-date' => 'Client-Date',
                                                          'x-frame-options' => 'X-Frame-Options',
                                                          'strict-transport-security' => 'Strict-Transport-Security',
                                                          'set-cookie' => 'Set-Cookie',
                                                          'title' => 'Title',
                                                          'x-ua-compatible' => 'X-UA-Compatible',
                                                          'set-cookie2' => 'Set-Cookie2',
                                                          'x-powered-by' => 'X-Powered-By',
                                                          'client-ssl-cert-issuer' => 'Client-SSL-Cert-Issuer',
                                                          'client-ssl-socket-class' => 'Client-SSL-Socket-Class',
                                                          'x-meta-description' => 'X-Meta-Description',
                                                          'link' => 'Link',
                                                          'client-ssl-cert-subject' => 'Client-SSL-Cert-Subject'
                                                        },
                                        'cache-control' => 'no-store',
                                        'set-cookie' => 'remixtst=DELETED; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/; domain=.vk.com',
                                        'strict-transport-security' => 'max-age=0',
                                        'client-peer' => '95.213.11.180:443',
                                        'server' => 'Apache',
                                        'client-ssl-cipher' => 'ECDHE-RSA-AES256-GCM-SHA384',
                                        'refresh' => '0; URL=/badbrowser.php',
                                        'client-response-num' => 1,
                                        'pragma' => 'no-cache',
                                        'client-date' => 'Mon, 27 Feb 2017 07:52:31 GMT',
                                        'link' => [
                                                    '</images/icons/favicons/fav_logo.ico?5>; rel="shortcut icon"',
                                                    '</images/safari_60.png?1>; rel="apple-touch-icon"',
                                                    '</images/safari_76.png?1>; rel="apple-touch-icon"; sizes="76x76"',
                                                    '</images/safari_120.png?1>; rel="apple-touch-icon"; sizes="120x120"',
                                                    '</images/safari_152.png?1>; rel="apple-touch-icon"; sizes="152x152"',
                                                    '</css/al/fonts_cnt.css?2696088870>; rel="stylesheet"; type="text/css"',
                                                    '</css/al/common.css?3139011733>; rel="stylesheet"; type="text/css"',
                                                    '</css/al/login.css?4083904144>; rel="stylesheet"; type="text/css"',
                                                    '</css/al/ui_common.css?1997027190>; rel="stylesheet"; type="text/css"'
                                                  ],
                                        'client-ssl-cert-subject' => '/OU=Domain Control Validated/CN=*.vk.com',
                                        'x-meta-description' => '',
                                        'client-ssl-socket-class' => 'IO::Socket::SSL',
                                        'content-length' => '16964',
                                        'connection' => 'close',
                                        'client-ssl-cert-issuer' => '/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2',
                                        'x-powered-by' => 'PHP/3.11091'
                                      }, 'HTTP::Headers' ),
                 '_request' => bless( {
                                        '_uri_canonical' => bless( do{\(my $o = 'https://vk.com/login')}, 'URI::https' ),
                                        '_uri' => $VAR1->{'_request'}{'_uri_canonical'},
                                        '_headers' => bless( {
                                                               'cookie2' => '$Version="1"',
                                                               'content-length' => 33,
                                                               'content-type' => 'application/x-www-form-urlencoded',
                                                               'user-agent' => 'libwww-perl/6.15',
                                                               '::std_case' => {
                                                                                 'cookie2' => 'Cookie2',
                                                                                 'if-ssl-cert-subject' => 'If-SSL-Cert-Subject',
                                                                                 'cookie' => 'Cookie'
                                                                               },
                                                               'cookie' => 'remixlang=0; remixlhk=3a386548142f42bbd9'
                                                             }, 'HTTP::Headers' ),
                                        '_method' => 'POST',
                                        '_content' => '[email protected]&pass=pass'
                                      }, 'HTTP::Request' ),
                 '_protocol' => 'HTTP/1.1',
                 '_msg' => 'OK'
               }, 'HTTP::Response' );

Автор: alezzz 27.2.2017, 16:04
https://vk.com/login - это форма авторизации, ей не надо отсылать логин и пароль, эта страница вам нормально ответила кодом 200.
логин, пароль и и все остальное надо отправлять на https://login.vk.com/?act=login
смотрите в коде
Код

<form method="POST" name="login" id="quick_login_form" action="https://login.vk.com/?act=login">
    <input type="hidden" name="act" value="login" />
    <input type="hidden" name="role" value="al_frame" />
    <input type="hidden" name="expire" id="quick_expire_input" value="" />
    <input type="hidden" name="captcha_sid" id="quick_captcha_sid" value="" />
    <input type="hidden" name="captcha_key" id="quick_captcha_key" value="" />
    <input type="hidden" name="_origin" value="https://vk.com" />
    <input type="hidden" name="ip_h" value="b77b3d7743e94bb653" />
    <input type="hidden" name="lg_h" value="216ee17c554fdec55b" />
    <div class="label">Телефон или e-mail</div>
    <div class="labeled"><input type="text" name="email" class="dark" id="quick_email" /></div>
    <div class="label">Пароль</div>
    <div class="labeled"><input type="password" name="pass" class="dark" id="quick_pass" onkeyup="toggle('quick_expire', !!this.value);toggle('quick_forgot', !this.value)" /></div>
    <input type="submit" class="submit" />
  </form>

Автор: Loki 28.2.2017, 08:54
Да, но тогда я получаю 302:
Код

$VAR1 = bless( {
                 '_content' => '',
                 '_headers' => bless( {
                                        'content-length' => '0',
                                        'client-ssl-cipher' => 'ECDHE-RSA-AES256-GCM-SHA384',
                                        'client-ssl-cert-subject' => '/OU=Domain Control Validated/CN=*.vk.com',
                                        'client-date' => 'Tue, 28 Feb 2017 05:50:04 GMT',
                                        'content-type' => 'text/html; charset=windows-1251',
                                        'date' => 'Tue, 28 Feb 2017 05:50:03 GMT',
                                        'pragma' => 'no-cache',
                                        'connection' => 'close',
                                        'client-ssl-socket-class' => 'IO::Socket::SSL',
                                        '::std_case' => {
                                                          'client-ssl-socket-class' => 'Client-SSL-Socket-Class',
                                                          'content-base' => 'Content-Base',
                                                          'client-ssl-cipher' => 'Client-SSL-Cipher',
                                                          'base' => 'Base',
                                                          'client-ssl-cert-subject' => 'Client-SSL-Cert-Subject',
                                                          'client-date' => 'Client-Date',
                                                          'set-cookie' => 'Set-Cookie',
                                                          'client-ssl-cert-issuer' => 'Client-SSL-Cert-Issuer',
                                                          'p3p' => 'P3P',
                                                          'client-response-num' => 'Client-Response-Num',
                                                          'set-cookie2' => 'Set-Cookie2',
                                                          'client-peer' => 'Client-Peer',
                                                          'strict-transport-security' => 'Strict-Transport-Security',
                                                          'x-powered-by' => 'X-Powered-By'
                                                        },
                                        'client-ssl-cert-issuer' => '/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2',
                                        'p3p' => 'CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"',
                                        'location' => 'http://vk.com/login?&to=&s=0&m=1&email=',
                                        'cache-control' => 'no-store',
                                        'client-response-num' => 1,
                                        'server' => 'Apache',
                                        'client-peer' => '95.213.11.180:443',
                                        'strict-transport-security' => 'max-age=15768000',
                                        'x-powered-by' => 'PHP/3.11130'
                                      }, 'HTTP::Headers' ),
                 '_protocol' => 'HTTP/1.1',
                 '_rc' => '302',
                 '_msg' => 'Found',
                 '_request' => bless( {
                                        '_uri_canonical' => bless( do{\(my $o = 'https://login.vk.com/?act=login')}, 'URI::https' ),
                                        '_content' => '[email protected]&pass=pass',
                                        '_method' => 'POST',
                                        '_headers' => bless( {
                                                               'content-length' => 32,
                                                               '::std_case' => {
                                                                                 'if-ssl-cert-subject' => 'If-SSL-Cert-Subject',
                                                                                 'cookie2' => 'Cookie2',
                                                                                 'cookie' => 'Cookie'
                                                                               },
                                                               'cookie' => 'remixlhk=3a386548142f42bbd9; remixlang=0',
                                                               'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0',
                                                               'cookie2' => '$Version="1"',
                                                               'content-type' => 'application/x-www-form-urlencoded'
                                                             }, 'HTTP::Headers' ),
                                        '_uri' => $VAR1->{'_request'}{'_uri_canonical'}
                                      }, 'HTTP::Request' )
               }, 'HTTP::Response' );

Автор: alezzz 28.2.2017, 12:13
Правильно, дальше отправляйте на http://vk.com/login?&to=&s=0&m=1&email= и где-то там появится данные каптчи.
В браузере пробовали смотреть процесс авторизации в инструменте разработчика?

Автор: Loki 1.3.2017, 16:15
Да там нет капчи, я просто логинюсь в браузере без капчи и никакой капчи нет, просто логин и пароль.

Автор: Loki 7.3.2017, 12:13
Что-то не выходит, капчи нету, только форма логина.
Откуда вы там капчу нашли?

Автор: alezzz 7.3.2017, 13:33
Наверно из-за то, что логин неправильно ввел, меня нет во вконтактике. Ну нет каптчи и хорошо, меньше проблем, смотрите в браузере куда какие запросы отправлять и повторяйте их на perl.

Автор: Loki 8.3.2017, 21:38
Ну форма логина во вконтакте такая, как вы сами показали. Только не логинится, что-то. Пароль верный ввожу, а редиректа нет никуда. Но капчи нет никакой.
Код

<form method="POST" name="login" id="quick_login_form" action="https://login.vk.com/?act=login">
    <input type="hidden" name="act" value="login" />
    <input type="hidden" name="role" value="al_frame" />
    <input type="hidden" name="expire" id="quick_expire_input" value="" />
    <input type="hidden" name="captcha_sid" id="quick_captcha_sid" value="" />
    <input type="hidden" name="captcha_key" id="quick_captcha_key" value="" />
    <input type="hidden" name="_origin" value="https://vk.com" />
    <input type="hidden" name="ip_h" value="b77b3d7743e94bb653" />
    <input type="hidden" name="lg_h" value="216ee17c554fdec55b" />
    <div class="label">Телефон или e-mail</div>
    <div class="labeled"><input type="text" name="email" class="dark" id="quick_email" /></div>
    <div class="label">Пароль</div>
    <div class="labeled"><input type="password" name="pass" class="dark" id="quick_pass" onkeyup="toggle('quick_expire', !!this.value);toggle('quick_forgot', !this.value)" /></div>
    <input type="submit" class="submit" />
  </form>

Автор: Loki 28.3.2017, 18:42
up.
Все еще нужна помошь.

Автор: Loki 8.4.2017, 10:06
Говорят нужно какие-то специальные данные вносить, вот вывод DataDumper'а:
Код

                 '_request' => bless( {
                                        '_headers' => bless( {
                                                               '::std_case' => {
                                                                                 'cookie2' => 'Cookie2',
                                                                                 'if-ssl-cert-subject' => 'If-SSL-Cert-Subject',
                                                                                 'cookie' => 'Cookie'
                                                                               },
                                                               'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0',
                                                               'cookie2' => '$Version="1"',
                                                               'content-length' => 32,
                                                               'cookie' => 'remixlhk=3a386548142f42bbd9; remixlang=0',
                                                               'content-type' => 'application/x-www-form-urlencoded'
                                                             }, 'HTTP::Headers' ),
                                        '_method' => 'POST',
                                        '_uri' => bless( do{\(my $o = 'https://vk.com/login')}, 'URI::https' ),
                                        '_content' => 'email=%2B79520821519&pass=123Qwe',
                                        '_uri_canonical' => $VAR1->{'_request'}{'_uri'}
                                      }, 'HTTP::Request' ),
                 '_headers' => bless( {
                                        '::std_case' => {
                                                          'x-powered-by' => 'X-Powered-By',
                                                          'title' => 'Title',
                                                          'client-ssl-socket-class' => 'Client-SSL-Socket-Class',
                                                          'x-meta-msapplication-packagefamilyname' => 'X-Meta-MsApplication-PackageFamilyName',
                                                          'x-ua-compatible' => 'X-UA-Compatible',
                                                          'x-meta-description' => 'X-Meta-Description',
                                                          'strict-transport-security' => 'Strict-Transport-Security',
                                                          'client-ssl-cert-subject' => 'Client-SSL-Cert-Subject',
                                                          'client-date' => 'Client-Date',
                                                          'refresh' => 'Refresh',
                                                          'x-frame-options' => 'X-Frame-Options',
                                                          'x-meta-msapplication-id' => 'X-Meta-MsApplication-ID',
                                                          'link' => 'Link',
                                                          'client-peer' => 'Client-Peer',
                                                          'client-response-num' => 'Client-Response-Num',
                                                          'client-ssl-cert-issuer' => 'Client-SSL-Cert-Issuer',
                                                          'set-cookie2' => 'Set-Cookie2',
                                                          'set-cookie' => 'Set-Cookie',
                                                          'client-ssl-cipher' => 'Client-SSL-Cipher'
                                                        },
                                        'client-ssl-cipher' => 'ECDHE-RSA-AES256-GCM-SHA384',
                                        'set-cookie' => 'remixtst=DELETED; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/; domain=.vk.com',
                                        'pragma' => 'no-cache',
                                        'connection' => 'close',
                                        'content-length' => '17123',
                                        'client-ssl-cert-issuer' => '/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2',
                                        'date' => 'Sat, 08 Apr 2017 06:54:36 GMT',
                                        'server' => 'Apache',
                                        'client-peer' => '95.213.11.180:443',
                                        'content-type' => 'text/html; charset=windows-1251',
                                        'client-response-num' => 1,
                                        'refresh' => '0; URL=/badbrowser.php',
                                        'link' => [
                                                    '</images/icons/favicons/fav_logo.ico?5>; rel="shortcut icon"',
                                                    '</images/safari_60.png?1>; rel="apple-touch-icon"',
                                                    '</images/safari_76.png?1>; rel="apple-touch-icon"; sizes="76x76"',
                                                    '</images/safari_120.png?1>; rel="apple-touch-icon"; sizes="120x120"',
                                                    '</images/safari_152.png?1>; rel="apple-touch-icon"; sizes="152x152"',
                                                    '</css/al/fonts_cnt.css?2889730895>; rel="stylesheet"; type="text/css"',
                                                    '</css/al/common.css?25638623088>; rel="stylesheet"; type="text/css"',
                                                    '</css/al/login.css?21504915349>; rel="stylesheet"; type="text/css"',
                                                    '</css/al/ui_common.css?15138442166>; rel="stylesheet"; type="text/css"'
                                                  ],
                                        'x-meta-msapplication-id' => 'C6965DD5.VK',
                                        'x-frame-options' => 'deny',
                                        'client-ssl-cert-subject' => '/OU=Domain Control Validated/CN=*.vk.com',
                                        'client-date' => 'Sat, 08 Apr 2017 06:54:39 GMT',
                                        'x-ua-compatible' => 'IE=edge',
                                        'x-meta-description' => '',
                                        'strict-transport-security' => 'max-age=0',
                                        'x-powered-by' => 'PHP/3.12434',
                                        'client-ssl-socket-class' => 'IO::Socket::SSL',
                                        'x-meta-msapplication-packagefamilyname' => 'C6965DD5.VK_v422avzh127ra',
                                        'title' => '┬їюф | ┬╩юэЄръЄх',
                                        'cache-control' => 'no-store'
                                      }, 'HTTP::Headers' ),
                 '_rc' => '200'
               }, 'HTTP::Response' );

Сам скрипт на perl, каких данных не хватает?
Код

use strict;
use LWP::UserAgent;
use HTTP::Cookies;
use Encode qw(decode encode);
use Data::Dumper;
#use HTTP::Request::Common qw(GET POST);
#use MIME::Base64 qw(encode_base64);

    my $cookie_jar = HTTP::Cookies->new( 
     file => 'lwp_cookies.txt',
     autosave => 1,
     ignore_discard => 1,
   );

    my $ua = LWP::UserAgent->new(
        ssl_opts => { verify_hostname => 1 }, 
        cookie_jar => $cookie_jar,
        );
                    #$ua->timeout(10);
                    $ua->agent('Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0');
     #my $response = $ua->post('https://vk.com/login', { email => '[email protected]', pass => 'pass' } )->as_string; 
     my $response = $ua->post('https://vk.com/login', #https://login.vk.com/?act=login
                    [
                    email => '[email protected]',
                    pass => 'pass'
                   ],
                    );

print Dumper($response);
                    
 if ($response->is_success) {
     #print $response->decoded_content;
     print encode("cp866", $response->decoded_content);
     print "1111\n";
 }
 else {
     die $response->status_line;
 }


1;

Автор: arto 12.4.2017, 07:45
Не хватает "hidden fields" например.
Надо выяснить, как работает js со страницей.

Автор: Loki 19.4.2017, 13:53
Ну они заполнены вот так вот с номером телефона:
Код

    <input type="hidden" name="act" id="act" value="login">
    <input type="hidden" name="to" id="to" value=""/>
    <input type="hidden" name="expire" id="expire_input" value="" />
    <input type="hidden" name="_origin" value="https://vk.com" />
    <input type="hidden" name="ip_h" value="ce75412fff540a9f6d" />
    <input type="hidden" name="lg_h" value="8db7b2b04ef30a4eee" />
    <input type="text" class="big_text" name="email" id="email" value="+7952xxxxxxx" placeholder="╥хыхЇюэ шыш e-mail" />

Как определить какие нужны?

Автор: arto 19.4.2017, 14:34
все поля посылаются, которые относятся к текущей форме.
и повторю, необходимо разобраться с js, oн может модифицировать значения в hidden fields.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)