Login
- ssh :
ssh bandit1@bandit.labs.overthewire.org -p 2220
- password :
ZjLjTmM6FvvyRnrb2rfNWOZOTa6ip5If
Task
- the goal of this games is to read the password from a particular file
-
Theory
- the
-
is a special shortcut that means : treat the terminal content as the file for example:
cat -
after this command you’d have to type something into the screen , when you type enter it will print what you’ve printed
- so if you find it as a file name it can confuse the programs.
Solution
- to read a file that was named
-
you have to pass it as a path not just the name , so the answer will be :
cat ./-