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


Use ls to show the list of file and cat to show the contents. However, the file name contain spaces so we use quote around the filename so cat can recognize the whole file name with the spaces. Another way is to escape the space using backslash.

cat "spaces in this filename"
cat spaces\ in\ this\ filename
UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK
Advertisements