OverTheWire: Bandit Level 0 → Level 1

https://overthewire.org/wargames/bandit/bandit1.html

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.

Commands you may need to solve this level

ls, cd, cat, file, du, find

Note : All commands don't have to be used to complete level

Helpful Reading Material

Solution

View the files that are present in the current working directory using the ls command
(The “pwd” command can be used to view the current working directory)

We see there is an file named readme to view the contents of this file we can use the cat command.

We have found the password for the next level !!

To access next level logout of the current session. This can be done by typing exit or use Ctrl + D

Use password found above to login as bandit1 and access next level

Next Level

Previous Level