OverTheWire Level 1 -> Level 2

Bandit Level 1 → Level 2

Level Goal

The password for the next level is stored in a file called - located in the home directory

Commands you may need to solve this level

ls , cd , cat , file , du , find

Now let’s solve it:

The command

First ssh in bandit1

ssh -p 2220

The password is for bandit1 is ZjLjTmM6FvvyRnrb2rfNWOZOTa6ip5If

Now you should be in bandit1.

List the contents by typing ls .You will find a file with filename as -

To read the contents type cat and the full filename

cat /home/bandit1/-

Inside you will find the password for bandit2.