Level Goal
The password for the next level is stored in a file called spaces in this filename located in the home directory

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

Lets do an ‘ls -la’ to find all files in the current directory. There is a – file. To cat this file we need to put the whole path to get the special character filename.
ls -la
cat /home/bandit1/-

There is the password: CV1DtqXWVFXTvM2F0k09SHz0YwRINYA9

Leave a Reply

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