View the exercise here: PentesterLab: Recon 09arrow-up-right
For this challenge, your goal is to access the headers from responses.
When accessing a web server, it often pays off to check the responses' headers. It's common to find information around version and technologies used.
When we use this default curl command, we don’t get the header.
curl
curl https://hackycorp.com/
--dump-header - shows the HTTP response headers in the terminal
--dump-header -
-o /dev/nulldiscards the response body (doesn’t save or display it)
-o /dev/null
-s to remove progress bar
-s
Last updated 1 year ago
curl https://hackycorp.com/ --dump-header - -o /dev/null
curl https://hackycorp.com/ --dump-header - -o /dev/null -s