[OverTheWire] 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
My Answer (Step by step)
- 連線到伺服器並登入
ssh bandit1@bandit.labs.overthewire.org -p 2220
- 透過 ls 指令會看到 - 檔案
ls
- 透過 cat 指令讀取 - 檔案即可看到 Level 2 密碼!
cat ./-