OverTheWire: Bandit Level 2 → Level 3

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

Level Goal

The password for the next level is stored in a file called spaces in this filename located in the home directory

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

View the content of the file named spaces in this filename using the cat command

Note : We command directly open this file as there are spaces in the filename. The spaces in the name can be escaped using \ , another approach is to enclosing the filename in ".." (quotes)

Note : The name of any file on the system can be auto completed using the Tab key.

We have found the password for the next level !!

Logout of current session and use password of user bandit3 to access next level

Next Level

Previous Level