![]() |
Putting DNAS Password in URL
Hey Everyone,
I know this has been metioned before, but I can seem to come up with the right search sting to find it. (1) How do I access the admin sections of the DNAS by a single URL (without the login/pass box popping up)? I suspect I need to put the login and password in the URL. What is the format? I'm trying to get to the log files with a single URL. (2) Alternatively, is there a URL for the actual log file itself? Any idea what that is? I do not have FTP or SSH access to the server, and I'm trying to tell Sawmill where to get the log files. Thanks, rg. |
This is a browser issue, but most support the following:
http://username:password@website.url.com:portbase/admin.cgi?... The above format works in DNAS v1.9.x and above -- the username is "admin" for the DNAS. You can also embed the password [the username is not needed]: http://website.url.com:portbase/admin.cgi?pass=password&mode=viewlog The above should get the whole log, and works for all DNAS versions. |
Quote:
Caveats: 1. Your password is sent in plain text. 2. Firefox gives you a little 'OK?' popup box asking if you really want to log into mydomain as username. 3. This won't work in modern versions of Internet Explorer unless you change the value of a registry key. |
To access Shoutcast Admin pages using a HTTP-GET string without being prompted for credentials, you need to append &pass=YourPassword to the URL.
The admin page would be: http://server.com:port/admin.cgi?pass=YourPassword To retrieve your logfile, you would go to: http://server.com:port/admin.cgi?mode=viewlog&pass=YourPassword This will work for any of the subpages within the web interface, and you should not be prompted for a password. |
Quote:
|
| All times are GMT. The time now is 17:00. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.