Hallo,
ich kann kein bild holen mit curl:
[root@edomi]# curl -u "admin
assword" "http://192.168.88.30/cgi-bin/snapshot.cgi" -v --digest
* About to connect() to 192.168.88.30 port 80 (#0)
* Trying 192.168.88.30... connected
* Connected to 192.168.88.30 (192.168.88.30) port 80 (#0)
* Server auth using Digest with user 'admin'
> GET /cgi-bin/snapshot.cgi HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: 192.168.88.30
> Accept: */*
>
< HTTP/1.1 401 Unauthorized
< WWW-Authenticate: Digest realm="Login to 5D02842PAA1EEFB", qop="auth", nonce="1226879629", opaque="4e6ac07a17874037f9efefc3e0e6437abfc50cf8"
< Connection: close
< CONTENT-LENGTH: 0
<
* Closing connection #0
* Issue another request to this URL: 'http://192.168.88.30/cgi-bin/snapshot.cgi'
* About to connect() to 192.168.88.30 port 80 (#0)
* Trying 192.168.88.30... connected
* Connected to 192.168.88.30 (192.168.88.30) port 80 (#0)
* Server auth using Digest with user 'admin'
> GET /cgi-bin/snapshot.cgi HTTP/1.1
> Authorization: Digest username="admin", realm="Login to 5D02842PAA1EEFB", nonce="1226879629", uri="/cgi-bin/snapshot.cgi", cnonce="MDgzMTI2", nc=00000001, qop="auth", response="3a07d36b179eda68a31369c0c8eb62b4", opaque="4e6ac07a17874037f9efefc3e0e6437abfc50cf8"
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: 192.168.88.30
> Accept: */*
>
< HTTP/1.1 401 Unauthorized
< Connection: close
< Content-type: text/plain;charset=utf-8
< Content-Length: 27
<
Error
Invalid Authority!
* Closing connection #0
Habe es mit allen auth methoden probiert. kein erfolg.
weiß jemand rat?
danke
ich kann kein bild holen mit curl:
[root@edomi]# curl -u "admin

* About to connect() to 192.168.88.30 port 80 (#0)
* Trying 192.168.88.30... connected
* Connected to 192.168.88.30 (192.168.88.30) port 80 (#0)
* Server auth using Digest with user 'admin'
> GET /cgi-bin/snapshot.cgi HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: 192.168.88.30
> Accept: */*
>
< HTTP/1.1 401 Unauthorized
< WWW-Authenticate: Digest realm="Login to 5D02842PAA1EEFB", qop="auth", nonce="1226879629", opaque="4e6ac07a17874037f9efefc3e0e6437abfc50cf8"
< Connection: close
< CONTENT-LENGTH: 0
<
* Closing connection #0
* Issue another request to this URL: 'http://192.168.88.30/cgi-bin/snapshot.cgi'
* About to connect() to 192.168.88.30 port 80 (#0)
* Trying 192.168.88.30... connected
* Connected to 192.168.88.30 (192.168.88.30) port 80 (#0)
* Server auth using Digest with user 'admin'
> GET /cgi-bin/snapshot.cgi HTTP/1.1
> Authorization: Digest username="admin", realm="Login to 5D02842PAA1EEFB", nonce="1226879629", uri="/cgi-bin/snapshot.cgi", cnonce="MDgzMTI2", nc=00000001, qop="auth", response="3a07d36b179eda68a31369c0c8eb62b4", opaque="4e6ac07a17874037f9efefc3e0e6437abfc50cf8"
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: 192.168.88.30
> Accept: */*
>
< HTTP/1.1 401 Unauthorized
< Connection: close
< Content-type: text/plain;charset=utf-8
< Content-Length: 27
<
Error
Invalid Authority!
* Closing connection #0
Habe es mit allen auth methoden probiert. kein erfolg.
weiß jemand rat?
danke
Kommentar