LeviathanOverTheWire

Level2

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

Let’s login with leviathan1

Fig. 1

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

Fig. 2

There is an executable file check in the directory. Let’s try and execute it.

Fig. 3

Something’s fishy. It asked for password, and it is expecting a different one than that of leviathan1. Let’s have a deeper look at the program using ltrace

Fig. 4

Well, this practically revealed the password the program is expecting. Let’s enter it.

Fig. 5

Now we have a shell for leviathan2. Let’s get the password.

Fig. 6

Level completed! Credentials obtained:

Username: leviathan2

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

Leave a Reply

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