Wednesday, 1 June 2016

Curl with auth username / password

We can use curl even if it requires you to be logged in. Example

  • curl '' -x -H "Authorization: Basic `echo -n 'user:password' | base64`"

    • -x = Proxy to use
    • -H = headers - we put the username and password in here

Curl to view a certificate
  • curl -v  
 View more certificate details:
  • openssl s_client -showcerts -connect
If this isn't good enough fire up tcpdump and wireshark

No comments:

Post a Comment