Level 2 → Level 3 [Over the wire] Walkthrough
Login to Level 2:
ssh bandit2@bandit.labs.overthewire.org -p 2220
Password for Level 2 (from previous level):
List files :
ls -l
You’ll see a file named:
spaces in this filename
To read it, we have to handle the spaces properly. We can use these options:
✅ Option 1: Escape the spaces
cat spaces\ in\ this\ filename
✅ Option 2: Use quotes
cat "spaces in this filename"
or
cat 'spaces in this filename'
Once you run the command, you’ll see the password for Level 3.
Use that to SSH into the next level:
ssh bandit3@bandit.labs.overthewire.org -p 2220
0 Comments