Natas Level 1
Natas Level 1 — the same secret is hidden in the page, but the site tries to stop you viewing it; learn why client-side restrictions are not security.
Table of Contents
Source: This content is aggregated from overthewire (MIT). Visit the original repository for the latest version.
Username: natas1
URL: http://natas1.natas.labs.overthewire.org
Study guide
Level map: sign in as natas1 and find the password for natas2.
What this level teaches
A site can try to block “right click” or shortcuts, but cannot stop the browser giving you the data it already received.
Key ideas
- Client-side controls are advisory. JavaScript that disables a menu runs on your machine, under your control.
- Many ways in. Developer-tools shortcuts, the browser menu, a
view-source:URL prefix andcurlall bypass the trick. - Think about trust. The server cannot verify anything the browser claims to have done.
How to approach it
- Notice what the page says it prevents, and ask which other tools can fetch the same page.
- Use a method that never involves the blocked action.
How developers prevent it
Enforce security on the server. Client-side checks are useful for convenience and user experience only, never for access control.