Akash Trehan
Write-ups

OverTheWire Bandit Level 0 → 1 Walkthrough

Logging into SSH and reading a file with cat

By Akash Trehan · · 1 min read · Wargame
OverTheWire Bandit Level 0 wargame title banner
OverTheWire Bandit Level 0 → 1 Walkthrough

Level goal: 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 to log into that level and continue the game.

Commands you may need: ls, cd, cat, file, du, find

Helpful reading: None

Write-up

This was pretty straightforward. I ssh-ed into level 0 with

1
ssh bandit0@bandit.labs.overthewire.org

using the given password bandit0. Note that the password will not be visible when you write it.

Then look at the contents of readme file to get the password to the next level.

1
bandit0@melinda:~$ cat readme

Level 1 password: boJ9jbbUNNfktd78OOpsqOltutMc3MY1