Bandit Walkthrough – Level 7
Level Description
http://www.overthewire.org/wargames/bandit/bandit8.shtml
The purpose of this level is to teach you how to search through a file for a given string. The password for bandit8 is hidden in the file data.txt next to the word millionth
Hint
This will require two commands, one to read the contents of the file, and another to search through them and display only what you wish to see. You will need to join these commands using a pipe (|) character.
Solution | Show> |
---|---|
No need to use two command.
grep can search inside a file (or several) if you ask it.
“grep millionth data.txt”
Thanks for this blog, by the way :-)
Thanks :-)