HTTP 03
This challenge covers how to send specific HTTP requests
In this challenge, you need to send a GET request to the endpoint /pentesterlab with a specific cookie: "key=please." It's recommended to begin solving this challenge using curl. This approach allows you to understand the request structure, and then you can move on to writing a script in your preferred programming language to automate this process.
To write your script, you can utilize your previous code and add the cookie header. The cookie is transmitted in the request as a header, formatted like "Cookie: name=value." In the accompanying video, the challenge is solved using Ruby and the Httparty gem. After running a Docker container with Ruby, you install the Httparty gem, start an interactive Ruby session, and use Httparty to send the GET request with the required cookie header.