OverTheWire Bandit Level 2 ->Level 3

Level Goal

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

Commands you may need to solve this level

ls , cd , cat , file , du , find

Now let’s solve it:

first ssh into bandit2

ssh -p 2220

Enter the password 263JGJPfgU6LtdEvgfWU1XP5yac29mFx when prompted

Type ls to view the contents. You wiil find a file with the name spaces in this filename

Type cat with the filename within inverted commas

cat 'spaces in this filename'