Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@stargaze:~# curl -v -u myuser:mypass http://modem/
- * About to connect() to modem port 80 (#0)
- * Trying 192.168.231.117...
- * connected
- * Connected to modem (192.168.231.117) port 80 (#0)
- * Server auth using Basic with user 'admin'
- > GET / HTTP/1.1
- > Authorization: Basic *obscuring password*
- > User-Agent: curl/7.27.0
- > Host: modem
- > Accept: */*
- >
- < HTTP/1.1 401 Unauthorized
- * Authentication problem. Ignoring this.
- < WWW-Authenticate: Basic realm="ZXHN H108L"
- < Content-Type: text/html
- < Transfer-Encoding: chunked
- < Server: RomPager/4.07 UPnP/1.0
- < EXT:
- <
- <html>
- <head>
- <title>Protected Object</title></head><body>
- * Connection #0 to host modem left intact
- <h1>Protected Object</h1>This object on the RomPager server is protected* Closing connection #0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement