Over The Wire – Bandit 2

Level Goal

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

Similar to the last few challenges, we have a file that we need to read, except this time we have spaces in the file name.
If we try cat spaces in file name – we will get an error because cat will look for different files seperately.
Screenshot from 2018-06-26 20-33-18.png
To get around this, we just need to use an escape character (\)
**Pro tip, since there is only one file in this directory, just type cat s[tab] and it will autocomplete for you**
Screenshot from 2018-06-26 20-32-05.png
Level 3 here we come

Leave a comment