Skip to main content

Command Palette

Search for a command to run...

Bandit level 3-4

Updated
1 min readView as Markdown
Bandit level 3-4
D
Starting developer.

For connecting to the level:

ssh -p2220 bandit3@bandit.labs.overthewire.org

After you put on the password, the task would be to find a hidden file in a directory called inhere, navigating the directory is rather easy, after using ls, you will see all of the available directories, you can go within any available directories using cd:

cd inhere

once you're in the output should be like this:

![](https://cdn.hashnode.com/uploads/covers/6a91d30adc83bf7a5cfb1d9f/f433c3ec-c1b1-4067-b46e-35873b97d237.png align="middle")

However once you go inside the folder and type ls, the output would be nothing, that's because the file is hidden and we have to use a command to access it by using the following:

la

Which shows all of the files within a directory the output should be like this:

![](https://cdn.hashnode.com/uploads/covers/6a91d30adc83bf7a5cfb1d9f/ef5fee45-d4f9-4c4e-9f2d-066569aad535.png align="middle")

To access the folder we use the cat command:

cat "...Hiding-From-You"

The final output should be the password, make sure to practice outside of the Wargames so you would get familiar with Linux terminal.

A Reminder:Make sure to save every password you get.