OverTheWire Bandit Level 3-> Level 4

anonymous gitanonymous git
1 min read

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 bandit3@bandit.labs.overthewire.org -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

0
Subscribe to my newsletter

Read articles from anonymous git directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

anonymous git
anonymous git