Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. $ curl http://10.5.1.1/bla
  2. Unauthorized
  3. $ curl http://10.5.1.1/bla --digest --user joe:wrong
  4. Unauthorized
  5. $ http http://10.5.1.1/bla -b
  6. Unauthorized
  7. $ http http://10.5.1.1/bla -b --auth-type digest --auth joe:wrong
  8. Unauthorized
  9.  
  10. $ wget http://10.5.1.1/bla -q -O /dev/stdout
  11. $ wget http://10.5.1.1/bla -q -O /dev/stdout --user joe --password wrong
  12.  
  13. $ http http://10.5.1.1/bla --print hbHB
  14. GET /bla HTTP/1.1
  15. Accept: */*
  16. Accept-Encoding: gzip, deflate
  17. Connection: keep-alive
  18. Host: 10.5.1.1
  19. User-Agent: HTTPie/0.9.2
  20.  
  21. HTTP/1.1 401 Unauthorized
  22. Connection: keep-alive
  23. Content-Length: 13
  24. Content-Type: text/plain
  25. Date: 2017-08-27 23:01:07
  26. Server: Vistra-I St10 SW218 HW010
  27. WWW-Authenticate: Digest realm="Vistra-I", qop="auth", nonce="a0c5d461f2b74b2b797b62f54200d125", opaque="0123456789abcdef0123456789abcdef"
  28.  
  29. Unauthorized
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement