Challenge Information
- Platform: OverTheWire (Bandit)
- Difficulty: Easy
- Category: Linux
Overview
The password for the next level is stored in a file called --spaces in this filename-- located in the home directory
Solution
SSH into machine on port 2220 with password from previous level.
ssh -p 2220 bandit2@bandit.labs.overthewire.org
Use cat command. Since filename contains spaces we need to escape them using \
cat ./--spaces\ in\ this\ filename--
Lessons Learned
- Using
caton filename with spaces.
Tools Used
sshcat