OverTheWire Bandit Level 3-> Level 4

Bandit Level 3 → Level 4

Level Goal

The password for the next level is stored in a hidden file in the inhere directory.

Commands you may need to solve this level

ls , cd , cat , file , du , find

Now let’s solve it:

First ssh into bandit3

ssh -p 2220

Enter the password MNk8KNH3Usiio41PRUEoDFPqfxLPlSmx when prompted.

Now you should be in bandit3

If you type ls you will find a directory named inhere.

If you cd into inhere and then again ls, you won’t find anything as the file is hidden

To view the file, type

ls -al

You will find a file named ...Hiding-From-You

Now you can read the contents of the file by typing

cat ...Hiding-From-You