HTTP 16

This challenge covers how to send specific HTTP requests

PRO
Tier
Easy
< 1 Hr.
2739
HTTP Badge

In this lab, your goal is to send a GET request to the /pentesterlab endpoint with the key parameter set to please#. URL-encoding is essential to ensure that special characters such as # are correctly transmitted to the server. Initially, you might try to send the request via a browser, but you'll notice that the browser omits the fragment identifier (#) when sending the request to the server. To overcome this, you need to URL-encode the special character.

We recommend starting this challenge using curl. In the terminal, you can use curl to send the GET request, replacing the # with its URL-encoded equivalent, %23. This allows you to correctly submit the request and receive the expected response. Furthermore, writing a script in your preferred programming language to automate this task will help you build a reusable collection of scripts for future use.

Want to learn more? Get started with PentesterLab Pro! GOPRO