HTTP 42

This challenge covers how to send specific HTTP requests

PRO
Tier
Medium
< 1 Hr.
1958
HTTP Badge

Course


In this lab, we will focus on sending a GET request to the endpoint /pentesterlab with Basic authentication. You will need to authenticate using the username "key" and the password "please". First, we recommend solving this challenge using curl, a powerful command-line tool for transferring data with URLs. This will help you understand the basics of crafting HTTP requests and handling Basic authentication.

Once you're comfortable with curl, the next step is to write a script in your favorite programming language to perform the same task. This will not only solidify your understanding but also allow you to build a collection of reusable scripts for future use. To write your script, you can leverage previous code for sending GET requests with headers, making modifications to include Basic authentication.

Want to learn more? Get started with PentesterLab Pro! GO PRO