[OverTheWire] Bandit Level 0 & Level 0 → Level 1
Level Goal
The goal of this level is for you to log into the game using SSH. The host to which you need to connect is bandit.labs.overthewire.org, on port 2220. The username is bandit0 and the password is bandit0. Once logged in, go to the Level 1 page to find out how to beat Level 1.
The password for the next level is stored in a file called readme located in the home directory. Use this password to log into bandit1 using SSH. Whenever you find a password for a level, use SSH (on port 2220) to log into that level and continue the game.
Commands you may need to solve this level
ssh
ls
cd
cat
file
du
find
My Answer (Step by step)
- 連線到伺服器並登入
ssh bandit0@bandit.labs.overthewire.org -p 2220
- 透過 ls 指令會看到 readme 檔案
ls
- 透過 cat 指令讀取 readme 檔案即可看到 Level 1 密碼!
cat readme