Hi Tim, On Tue, Apr 9, 2013 at 3:33 AM, Tim Ruehsen <[email protected]> wrote: > Hi Olivier, > > in your original post you said: > > 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> > > what we need here is the HTML file where your example is referred from. > I am not able to find that in your attached index.html. >
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? Regards, Olivier
