Level 2 - Find password in file named - (Misc)
Description
The goal of this level is to get the password for the next level stored in a file called -
Tech used
- cat
- find
- [ls]
Solutions
Run ssh bandit1@bandit.labs.overthewire.org -p 2220. Password is ZjLjTmM6FvvyRnrb2rfNWOZOTa6ip5If
- Find
-& print output- Run
find . -name - -exec cat {} ';'
- Run
- List directory & print output
- Run
lsto check if-is present - Run
cat ./-
- Run