Bandit 8

OverTheWire Bandit 8

Level Goal

The password for the next level is stored in the file data.txt and is the only line of text that occurs only once


Inside the home folder is a file called data.txt. I use the head command to take a peak inside it. Using the word count utility, w can see there are 1001 lines to process.


We use the sort and uniq utilities to sort the file,and count the number of occurrences. We are after the only unique line in the file, which we find by using the grep utility.

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s