LeviathanOverTheWire

Level4

Website URL: http://overthewire.org/wargames/leviathan/leviathan4.html

Let’s login with leviathan3

Fig. 1

Let’s have a look at the contents of the current directory

Fig. 2

Let’s directly run the program with ltrace.

Fig. 3

So it seems that there are 2 strcmp being done. The user input is being taken in the second one and expects snlprintf as password. Let’s try that.

Fig. 4

Now for the password

Fig. 5

Level completed! Credentials obtained:

Username: leviathan4

Password: ************

Leave a Reply

Your email address will not be published. Required fields are marked *