Level 1 → Level 2 [Over the wire] Walkthrough
✅ Step 3: Read a file named
✅ Step 1: SSH into bandit1
ssh bandit1@bandit.labs.overthewire.org -p 2220
Enter the password you got from Level 0 when prompted.
✅ Step 2: List the files
ls
You’ll see:
-
✅ Step 3: Read a file named -
We can’t just do cat -
. Instead, we need to tell cat
to treat it as a file.
cat ./-
./-
tells the terminal to look for a file named-
in the current directory, avoiding confusion with standard input.
0 Comments