Bandit Level 9 -> Level 10
- Platform: OverTheWire
- Wargame: Bandit
- Date: 2025-12-13 12:45
Overview
Bandit Level 9: The password for Level 10 is stored in a file named data.txt in a few human-readable strings, preceded by several = characters.
One will need to read the file data.txt filtering by the = character.
Connection:
Host: bandit.labs.overthewire.org
Port: 2220
User: bandit9
Password: (use the password from Level 8's data.txt file)
Steps
1. SSH into the server as bandit9
local
$
ssh bandit9@bandit.labs.overthewire.org -p 2220(enter the password you found in Level 8 when prompted)
2. Find the lines with =
bandit9@bandit
bandit9@bandit:~$
strings data.txt | grep '= '========== the ========== password f\Z'========== is ========== (password for bandit10)
Summary
- The password is stored in a file named
data.txtin thehomedirectory of bandit9. - Use
stringsto print the contents of the filedata.txt. - Use
grepto filter for=character. - Use
|(pipe) to chain commands together.