Bandit Level 9 → Level 10

Level Goal

The password for the next level is stored in the file data.txt among of few lines of human-readable strings starting with ‘=’ characters.

Commands you may need to solve this level

grep, sort, uniq, strings, base64, tr, tar, gzip, bzip2, xxd

Using strings to print the strings of printable character in files and pipe the output into grep with = to find the line with = in it. The output will be all the lines that contains readable ‘=’ and one of them has the password. If you use == instead of = (as it stated in the level goal that strings starting with ‘=’ characters), you will find only four line of results.

strings data.txt | grep ==
========== the
,========== passwordc
========== is
========== truKLdjsbJ5g7yyJ2X2R0o3a5HQJFuLk

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