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

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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