Advertisement

[Kali Linux] CTF Bandit : Level 1 → Level 2 [Over the wire] Walkthrough

Image Lab available at bottom :

Level 1 → Level 2 [Over the wire] Walkthrough

✅ 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.


The output of the above command is the password for Level 2. Copy and save it.



Post a Comment

0 Comments