loading...

OverTheWire Bandit Level 7 → Level 8 walk-through

kkaosninja profile image Krishna Kishore Shetty ・1 min read

Overthewire Bandit Wargames walkthrough (11 Part Series)

1) Shall We Begin? >:-) 2) OverTheWire Bandit Level 0 walk-through 3 ... 9 3) OverTheWire Bandit Level 0 → Level 1 walk-through 4) OverTheWire Bandit Level 1 → Level 2 walk-through 5) OverTheWire Bandit Level 2 → Level 3 walk-through 6) OverTheWire Bandit Level 3 → Level 4 walk-through 7) OverTheWire Bandit Level 4 → Level 5 walk-through 8) OverTheWire Bandit Level 5 → Level 6 walk-through 9) OverTheWire Bandit Level 6 → Level 7 walk-through 10) OverTheWire Bandit Level 7 → Level 8 walk-through 11) OverTheWire Bandit Level 8 → Level 9 walk-through

Challenge page => https://overthewire.org/wargames/bandit/bandit8.html

The password for the next level is stored in the file data.txt next to the word millionth

This time, the usual challenge is flipped on its head. Instead of hunting for the file that contains the password, we search for the password in the file that is given to us.

Let's take a look at the file size and the first few lines from it.

data.txt preview

The file is 4 MB in size, so its quite big. Looking at the contents, a manual search will not be easy.


We need to find the location of a word in the file. If only there was an easy way to do this.

Hint 1: The answer for this is pretty obvious, so one web search should give you the answer.


So you found it eh? Awesome. Being comfortable with the basics of grep is very important if you are to become comfortable with the command line. Take my word for it. It comes in handy in so many circumstances!

I would recommend glossing over the man page for grep before going ahead, and reading up on a few examples.

In this particular case, its a simple search, and the solution is obtained pretty easily.

Solution found

To the next challenge!

Overthewire Bandit Wargames walkthrough (11 Part Series)

1) Shall We Begin? >:-) 2) OverTheWire Bandit Level 0 walk-through 3 ... 9 3) OverTheWire Bandit Level 0 → Level 1 walk-through 4) OverTheWire Bandit Level 1 → Level 2 walk-through 5) OverTheWire Bandit Level 2 → Level 3 walk-through 6) OverTheWire Bandit Level 3 → Level 4 walk-through 7) OverTheWire Bandit Level 4 → Level 5 walk-through 8) OverTheWire Bandit Level 5 → Level 6 walk-through 9) OverTheWire Bandit Level 6 → Level 7 walk-through 10) OverTheWire Bandit Level 7 → Level 8 walk-through 11) OverTheWire Bandit Level 8 → Level 9 walk-through

Posted on by:

kkaosninja profile

Krishna Kishore Shetty

@kkaosninja

Starting a career in Penetration Testing/Vulnerability Assessment

Discussion

markdown guide