Goal
The password is in data.txt next to the word millionth.
Steps
- SSH in:
ssh bandit8@bandit.labs.overthewire.org -p 2220
- Search for the keyword:
grep -n "millionth" data.txt
That line contains the password for Level 9.
Notes
-nprints the line number.- If the file is huge,
grepis the right instinct (don’tcatgiant files unless you have to).