[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] download that require login/password form submit
From: |
Voytek Eymont |
Subject: |
[Bug-wget] download that require login/password form submit |
Date: |
Thu, 8 Apr 2010 22:12:26 +1000 (EST) |
User-agent: |
SquirrelMail/1.5.1 |
I'm trying to follow the
http://wget.addictivecode.org/FrequentlyAskedQuestions#password-protected
info to wget login protected pages, but, not having much luck
the page has
<form action="/main.htm" method="post" name="login_form" id="login_form">
I've listed every 'input' below, I've tried a variety of options, ending
with:
wget
--post-data='username=MYNAME&password=MYPASSWORD&_action_login=_login&_module=login&_template=login&_action=&_local_date='
--save-cookies=my-cookies.txt
--keep-session-cookies http://www.domain.tld/main.htm
but, no go
I do get a session cookie generated as so:
# HTTP cookie file.
# Generated by Wget on 2010-04-08 22:01:20.
# Edit at your own risk.
www.domain.tld FALSE / FALSE 0 PHPSESSID
f2040ad872a7e57c4af7d93a3369877e
----------------------------------------------------
<input type="Hidden" name="_action" value="">
<input type="Hidden" name="_local_date" value="">
<input type="text" AUTOCOMPLETE="OFF" id="username" name="username"
value=""size="20" maxlength="80" class="text_inbox"
onchange="if(value.toLowerCase) value=value.toLowerCase();" tabIndex="1">
<input type="password" AUTOCOMPLETE="OFF" id="password" name="password"
size="20" maxlength="80" class="text_inbox" tabIndex="2">
<input class="sbttn" type="submit" name="_action_login"
onClick="document.login_form._action.value='_login'; return
LoginCheck(login_form);" value="Login >>>">
<input type="Hidden" name="_module" value="login">
<input type="Hidden" name="_template" value="login">
------------------
wget --version
GNU Wget 1.10.2 (Red Hat modified)
--
Voytek
- [Bug-wget] download that require login/password form submit,
Voytek Eymont <=