Challenge Information
- Platform: OverTheWire (Bandit)
- Difficulty: Easy
- Category: Linux
Overview
The password for the next level is stored in the file data.txt next to the word millionth
Solution
SSH into machine on port 2220 with password from previous level.
ssh -p 2220 bandit7@bandit.labs.overthewire.org
Use grep to get the line with millionth in it.
grep millionth data.txt

Lessons Learned
- Use
grepto filter for rows.
Tools Used
sshgrepls