OverTheWire: Bandit Level 2 to Level 3
2020, Jun 13
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
Helpful Reading Material
———————————————————————————————–
Walk Through
- Connect via ssh:
ssh [email protected] -p 2220
The password is: CV1DtqXWVFXTvM2F0k09SHz0YwRINYA9
- List the files in your home directory. (ls command)
</figure>
As you can see the file name contains spaces. You will need to put a backslash before every space in the file name. You could just use the terminal’s auto complete feature by tabbing over and letting Linux auto populate the file name since it’s the only thing in the home directory. Type cat then press the tab key.
- cat spaces\ in\ this\ filename
</figure>
- Password: UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK