Bandit 4 ( level 3->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

Solving

In this level, we'll be dealing with hidden files.

ssh into bandit3:

ssh -p 2220 bandit3@bandit.labs.overthewire.org
img1

From the img1, The problem we're dealing with in this level is that the ls command by itself can't show us all of the files. The problem is easily solved by adding -a option to the ls command:

ls -a

The -a command tells the ls to show us all of the files inside the directory, including the hidden ones. Anyway you can find more option of the ls command by using command ls --help or man ls.

FLAG !

We captured our flag.

2WmrDFRmJIq3IPxneAaMGhap0pFhF3NJ

Last updated