Bandit Level 1 → Level 2

Level Goal

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

Commands you may need to solve this level

ls, cd, cat, file, du, find


Use ls to show the list of file and cat to show the contents. However, because it is a special character, to let cat know that, use the path of the file so that it will recognize “-” as part of the file path. The first one is only for home directory and the second one for any file in the current directory.

cat ~/-
cat ./-
CV1DtqXWVFXTvM2F0k09SHz0YwRINYA9
Advertisements