HackPath Academy

Core Technical Skills

How HTTP Really Works

Requests, responses, methods, headers, cookies — the language of web hacking.

Beginner · 14 min

Open the interactive lesson →

Web hacking is just sending crafted HTTP requests and reading the responses. Once you can read a raw request/response, the whole web becomes editable.

GET /profile?id=3 HTTP/1.1
Host: shop.example.com
Cookie: session=abc123
User-Agent: Mozilla/5.0

Every part of that request is attacker-controlled: the path, the query parameter id=3, the cookie, and every header. The server trusting any of it blindly is where vulnerabilities begin.

Key pieces to know

Take the quiz →