Hacking challenges › Web
Learning route · 7 challenges
</> Web
How your browser talks to a server and the most common web flaws: hidden stuff that isn't really hidden, cookies, headers, parameters and access control.
⚠ For educational purposes only. A simulation for strictly educational purposes. Everything happens in your browser against made-up machines: it doesn't connect to any real system. Using these techniques against computers or networks without their owner's written permission is a crime (articles 197 bis and 264 of the Spanish Criminal Code). Learn in order to defend.
The basics before you start
Every page is a request (GET, POST…) with headers and, sometimes, data. The server replies with a code (200, 403, 404…), headers and the content. curl lets you write those requests by hand.
Everything that comes from the browser can be changed: cookies, headers, parameters, hidden fields. If the server trusts them to decide who you are, someone will pretend to be someone else.
Just because there's no link doesn't mean the page doesn't exist. If /factura?id=7 is yours, what about id=8? Checking permissions on the server, on every request, is the defence.
Comments in the HTML, backups, robots.txt, .git files, test panels. A lot of intrusions start by reading what a website shows without meaning to.
Challenges, from easiest to hardest
FAQ
What do you learn on the Hacklab's Web route?
How your browser talks to a server and the most common web flaws: hidden things that aren't, cookies, headers, parameters and access control. Concepts: http is text, the client lies if it wants to, access control, what gets left published.
How many challenges are on the Web route?
7 challenges ordered from easy to elite. Complete them all to earn the route badge.