DEV Community

Micheal Mac Donnacha
Micheal Mac Donnacha

Posted on

Overthewire.org Bandit Level 0 -> 1

This is the first in a series that will show how I solve the overthewire.org Bandit puzzles as I am completing them and learning how to better navigate and use linux terminal.

Bandit level 0 -> level 1

Bandit Level 0 → Level 1

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 (on port 2220) to log into that level and continue the game.
Walkthrough

This level is simple enough just login to the server using given username and password.

~$ ssh bandit0@bandit.labs.overthewire.org -p 2220
bandit0@bandit.labs.overthewire.org's password: bandit0
Enter fullscreen mode Exit fullscreen mode

Once logged in I only needed to read the contents of the readme file.

bandit0@bandit:~$ ls
readmebandit0@bandit:~$ cat readme
Enter fullscreen mode Exit fullscreen mode

The output from the cat readme command is the password for the next level.

First level is simple enough all that is needed is to read a file.

Top comments (0)