bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] wget ignores --mirror option on openWrt's Luci interface


From: Tim Rühsen
Subject: Re: [Bug-wget] wget ignores --mirror option on openWrt's Luci interface
Date: Tue, 9 Apr 2013 22:28:47 +0200
User-agent: KMail/1.13.7 (Linux/3.7-trunk-amd64; KDE/4.8.4; x86_64; ; )

Am Dienstag, 9. April 2013 schrieb Olivier Diotte:
> Upon reading your message, I checked my attachment and you are right,
> it is the main (login) page although I took it from the
> [...]/admin/iptables/index.html file. Sorry for this, I should have
> checked the file again before sending.
> 
> I think I understand the problem better now:
> -The index.html file in the directory I ran wget from (same dir as the
> cookies.txt file) displays the correct webpage (that is, wget logged
> in properly). From my tests, this file seems to be generated by the
> --save-cookies invocation.
> 
> -The ./172.16.1.1/cgi-
bin/luci/\;stok\=b5cb51685f39a8cdc67bf6e1e4871143/admin/status/iptables/index.html
> file produced by the --load-cookies invocation, on the other hand is
> the main (login) page (it shouldn't).
> 
> That explains why wget didn't see the href I referenced above (as it
> wasn't in the page), but I don't understand why I don't get the logged
> in page. Did I use the wrong options to login?

My router has a DD-WRT which uses basic authentication (--user and --password 
options would do it). But as one can see in your index.html, your OpenWRT uses 
a form with POST method. Your original call to Wget seems to be right.

Without a test environment, I have no clue what is going wrong (and I am not 
even shure, if something goes wrong).

Try testing without -m.

Regards, Tim



reply via email to

[Prev in Thread] Current Thread [Next in Thread]