OverTheWire Level 1 -> Level 2

1 min read
Bandit Level 1 → Level 2
Level Goal
The password for the next level is stored in a file called - located in the home directory
Commands you may need to solve this level
ls , cd , cat , file , du , find
Now let’s solve it:
The command
First ssh in bandit1
ssh bandit1@bandit.labs.overthewire.org -p 2220
The password is for bandit1 is ZjLjTmM6FvvyRnrb2rfNWOZOTa6ip5If
Now you should be in bandit1.
List the contents by typing ls .You will find a file with filename as -
To read the contents type cat and the full filename
cat /home/bandit1/-
Inside you will find the password for bandit2.
0
Subscribe to my newsletter
Read articles from anonymous git directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
