Web Recon & HTTP
Read HTTP like a hacker: status codes, robots.txt, cookies you shouldn't trust, and IDOR.
Before attacking a web application you have to understand how it talks. This room covers HTTP, the information sites leak without meaning to, and two classic mistakes: trusting cookies and forgetting to check who owns a record.
1
How HTTP works
Your browser and a web server talk in requests and responses.
httpGET /profile HTTP/1.1 Host: portal.example.edu Cookie: session=abc123 HTTP/1.1 200 OK Content-Type: text/htmlThe method says what you want (
GETto read,POSTto send data such as a login form). The status code says what happened:Code Meaning 200 OK 301 / 302 Redirect 401 Not logged in 403 Forbidden: logged in, but not allowed 404 Not found 500 Server error
⚑ Report a problem with this room
Log in to report a problem.