Over the Wire’s Bandit Challenge – Level 2
Level 02 – bandit – overthewire
Level Instructions:
“The password for the next level is stored in a file called spaces in this filename located in the home directory”
bandit2@bandit:~$ ls
spaces in this filename
bandit2@bandit:~$ cat "spaces in this filename"
UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK
bandit2@bandit:~$ ssh bandit3@localhost
Within the directory is a file named ‘spaces in this filename’.
Because of the spaces within the file, in order to access it, the file name must be enclosed within quotes. Sure enough, the password for bandit3 is found inside.