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 ./-

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s