On Mon, Apr 8, 2013 at 3:05 PM, Tim Rühsen <[email protected]> wrote:
> Am Montag, 8. April 2013 schrieb Olivier Diotte:
>> Hi Giuseppe,
>>
>> On Sat, Apr 6, 2013 at 4:22 PM, Giuseppe Scrivano <[email protected]> wrote:
>> > Hi Oliver,
>> >
>> > Olivier Diotte <[email protected]> writes:
>> >
>> >> The commands used are:
>> >> wget --save-cookies cookies.txt --keep-session-cookies --post-data
>> >> 'username=root&password=' http://172.16.1.1/cgi-bin/luci/
>> >> wget --load-cookies cookies.txt -m -r
>> >> 'http://172.16.1.1/cgi-
> bin/luci/;stok=b5cb51685f39a8cdc67bf6e1e4871143/admin/status/iptables/'
>> >>
>> >> Here is an example of a tag that isn't followed:
>> >> <a style="display:block;padding-left:25px;"
>> >> href="/cgi-
> bin/luci/;stok=b5cb51685f39a8cdc67bf6e1e4871143/admin/status/routes/">Routes</a>
>> >
>> > I couldn't reproduce it by faking a page with that a href you have
>> > included.
>> >
>> > Can you also pass -d to wget and attach the log?
>> >
>> > Have you already tried with a newer version of wget too?
>> >
>>
>> Attached is the log of a freshly compiled wget-1.14
>> (http://ftp.gnu.org/gnu/wget/wget-1.14.tar.xz)
>> The problem remains.
>
> Hi Oliver,
>
> in the log I can't find your mentioned ".../admin/status/routes/" link.
>
> That means, Wget's parser didn't find it.
> To find out if this is a bug in Wget or in the HTML structure, please attach
> the HTML file that contains that href/link.
>
> Regards, Tim
Hi Tim,
Attached is the file requested. I also just noticed that the second
run (that is the --load-cookies wget invocation) exits with a return
status of 8.
Regard,
Olivier
[1]Skip to navigation [2]Skip to content
Navigation
OpenWrt | OpenWrt Attitude Adjustment 12.09-rc1
* [3]Administration
OpenWRT - XEyE
Uptime: 02h 36min 08s
Memory: 89.84% Free
Load: 0.12 0.09 0.09
Java Script required!
You must enable Java Script in your browser or LuCI will not work
properly.
Authorization Required
Please enter your username and password.
Username
____________________
Password
____________________
Login Reset
[4]Powered by LuCI 0.11 Branch (v0.11+svn9422)
References
1. file://localhost/tmp/tmp0Ty9X7.html#navigation
2. file://localhost/tmp/tmp0Ty9X7.html#content
3. file://localhost/cgi-bin/luci/admin/
4. file://localhost/cgi-bin/luci/about