Level Goal
The password for the next level is stored in a file called spaces in this filename located in the home directory.
Solution
SSH in with the password from Level 1: CV1DtqXWVFXTvM2F0k09SHz0YwRINYA9.
1 |
$ ssh [email protected] -p 2220 |
Spaces are easily dealt with by escaping them with a backslash, or even just quoting the entire filename. We can actually use autocomplete with TAB to do it for us if we really want. First, let’s see what files we have.
1 2 |
[email protected]dit:~$ ls spaces in this filename |
Let’s look inside.
1 2 |
[email protected]:~$ cat spaces\ in\ this\ filename UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK |
We could also do this.
1 2 |
[email protected]:~$ cat 'spaces in this filename' UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK |
Boy howdy.