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

Walkthrough
So lets first connect to the bandit user with ssh.
ssh bandit1@bandit.labs.overthewire.org -p 220

Lets do an ‘ls -la’ to find all files in the current directory. There is file named “-“. To cat this file we need to write the whole filepath.
ls -la
cat /home/bandit2/-

We found the password: CV1DtqXWVFXTvM2F0k09SHz0YwRINYA9

Leave a Reply

Your email address will not be published. Required fields are marked *