Natas 4

Once we login to the page we are greeted with

Immediately I thought we can use cURL to exploit this and obtain the password and thus I tried that by doing

curl -H "Referer: http://natas5.natas.labs.overthewire.org/" http://natas4.natas.labs.overthewire.org/

However i was faced with

Unauthorised access

turns out i forgot to put in the username and password from the previous part to login, so after adding that in and editing my curl request slightly

We get the flag

Last updated