03Web Enumeration & Hidden Content
Fingerprint a web server, mine robots.txt, brute-force directories and find a backup leaking credentials.
About this lab
Web enumeration is finding the parts of a web application that nobody linked to. Almost every site has them: an old admin panel, a backup file someone left in the web root, a .git directory, a staging copy that was never taken down.
The method is unglamorous and effective. Fingerprint the server, read the files that are meant to be public but accidentally revealing (robots.txt is a list of things the owner wants hidden), then brute-force paths from a wordlist and look at what comes back.
What you will do
- Fingerprint the web server and application from response headers and error pages.
- Read
robots.txtand treat everyDisallowline as a hint rather than an instruction. - Brute-force directories and files with a wordlist, and read the status codes carefully.
- Find a backup file left in the web root and recover what it exposes.
- Use the credentials you find to reach something you could not reach before.
Where this is used
This is the single highest-yield technique in web testing, and it is also why "security by obscurity" fails: an unlinked URL is not a protected URL. On the defensive side, knowing this is how you justify blocking directory listing and keeping backups out of the document root.
Simulated environment — no real systems are contacted. Only ever test systems you own or are authorised in writing to test.