Old 12th May 2006, 16:53   #1
rgATL
Major Dude
 
Join Date: Feb 2003
Location: ATL, of course.
Posts: 724
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.
rgATL is offline   Reply With Quote
Old 15th May 2006, 14:12   #2
djSpinnerCee
Forum King
 
djSpinnerCee's Avatar
 
Join Date: Aug 2004
Location: Hollis, Queens/The Bronx, NYC
Posts: 3,555
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.
djSpinnerCee is offline   Reply With Quote
Old 11th April 2010, 18:17   #3
MarCn
Junior Member
 
Join Date: Apr 2010
Posts: 2
Quote:
Originally Posted by rgATL View Post
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.

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.
MarCn is offline   Reply With Quote
Old 13th April 2010, 17:10   #4
smoothbeats
Member
 
Join Date: Feb 2006
Posts: 53
Send a message via AIM to smoothbeats
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.

Smoothbeats.com
hiphop / nujazz

Last edited by smoothbeats; 13th April 2010 at 17:12. Reason: typo
smoothbeats is offline   Reply With Quote
Old 17th April 2010, 06:57   #5
MarCn
Junior Member
 
Join Date: Apr 2010
Posts: 2
Quote:
Originally Posted by smoothbeats View Post
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.
Thanks for the update.
MarCn is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump