Skip to content

Don't Bump Your Head(er)

  1. Go to the given site and inspect it.
  2. Get the user-agent from the HTML comments.
  3. Make a GET request:
    • Using Postman, Thunder Client, or similar; setting HTTP Header User-Agent: <user-agent>
    • Use the following curl command: bash curl -H "User-Agent: <user-agent>" <given site>
    • Use the following curl command: bash curl --user-agent <user-agent> <given site>
  4. Note the referer from the above response and send another request with that in header:
    • Using Postman, Thunder Client, or similar; setting HTTP Header User-Agent: <user-agent> Referer: <referer>
    • Use the following curl command: bash curl -H "User-Agent: <user-agent>" -H "Referer: <referer>" <given site>
    • Use the following curl command: bash curl --user-agent <user-agent> --referer <referer> <given site>