Thursday, October 8, 2015

OverTheWire - Natas - Level 2

Natas teaches the basics of server-side web-security.

Each level of natas consists of its own website located at http://natasX.natas.labs.overthewire.org, where X is the level number. This is no SSH logging. To access a level, enter the username for that level (e.g. natas0 for level 0) and its password.

Each level has access to the password of the next level. Your job is to somehow obtain that next password and level up. All passwords are also stored in /etc/natas_webpass/. E.g. the password for natas5 is stored in the file /etc/natas_webpass/natas5 and only readable by natas4 and natas5.
After logging in to natas2 we'll see the following message:

"There is nothing on this page."

Okay... double check it to make sure by viewing the source again by either right clicking->view source or using ctrl+u (default hotkey for viewing source). In fact, there is something on this page, it is an image called pixel.png located in the files directory.

If we navigate to the files directory we will see a users.txt file. Open it up to find the password for natas3.

No comments:

Post a Comment