Культурный офтопик
 help / color / mirror / Atom feed
From: "Aleksey E. Birukov" <birukov@vladinfo.ru>
To: "Культурный офтопик" <smoke-room@lists.altlinux.org>
Subject: Re: [room] Авторизация на сайте средствами bash
Date: Wed, 07 May 2008 19:59:20 +0400
Message-ID: <4821D1D8.4050504@vladinfo.ru> (raw)
In-Reply-To: <679044850805070831l6b694354l57d0633049ef51c6@mail.gmail.com>

Damir Shayhutdinov пишет:
>> Как можно авторизоваться на сайте (ввести логин, пароль и больше ничего)
>> средствами оболочки (php, perl тоже можно)?
>>  Надоело уже вручную curl кукизы подсовывать...
>>     
>
> wget 'http://URL?login=login&password=password' :
:)

Я пробовал таким образом. Хотел запрос сделать и куки записать (сайт 
потом только через куки работает). Но скрипт login.php почему-то не 
пропускает method="get", только post.
Как можно "запостить" данные в форму?



  reply	other threads:[~2008-05-07 15:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-07 15:22 Aleksey E. Birukov
2008-05-07 15:31 ` Damir Shayhutdinov
2008-05-07 15:59   ` Aleksey E. Birukov [this message]
2008-05-07 16:02     ` Damir Shayhutdinov
2008-05-08  5:53       ` Aleksey E. Birukov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4821D1D8.4050504@vladinfo.ru \
    --to=birukov@vladinfo.ru \
    --cc=smoke-room@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Культурный офтопик

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/smoke-room/0 smoke-room/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 smoke-room smoke-room/ http://lore.altlinux.org/smoke-room \
		smoke-room@lists.altlinux.org smoke-room@lists.altlinux.ru smoke-room@lists.altlinux.com smoke-room@altlinux.ru smoke-room@altlinux.org smoke-room@altlinux.com
	public-inbox-index smoke-room

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.smoke-room


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git