Overview
| Field | Value |
|---|---|
| URL | http://natas2.natas.labs.overthewire.org |
| Username | natas2 |
| Password | TguMNxKo1DSa1tujBLuZJnDUlCcUAPlI |
Hints
Hint 1 — What does the source load?
Hint 1 — What does the source load?
View the page source. Even though the page appears blank, it still loads assets. Is anything referenced that lives in a subdirectory on the server?
Hint 2 — Directory listing
Hint 2 — Directory listing
The source loads
files/pixel.png. The /files/ directory exists on the server. Many web servers are configured to show a listing of all files in a directory when no index.html is present. Try navigating directly to /files/ — you might see more than just pixel.png.Solution
Full walkthrough
Full walkthrough
Inspect the page source
View source. The page body contains:This reveals the existence of a
/files/ directory.Browse to the directory
Navigate to
http://natas2.natas.labs.overthewire.org/files/.Apache directory listing is enabled, showing two files:pixel.png— a 1×1 placeholder imageusers.txt— a credentials file