Login
SSH: ssh [email protected] -p 2220
Challenge URL: https://overthewire.org/wargames/bandit/bandit10.html
Task
The password for the next level is stored in the file data.txt in one of the few human-readable strings, preceded by several = characters.
Solution
Let'see the files present:
bandit9@bandit:~$ ls
data.txtfile command can be used to verify the type of file.
bandit9@bandit:~$ file data.txt
data.txt: dataUse strings to print human readable content from a file and pass it to grep with "==" (mentioned in the task):
strings data.txt | grep "=="One liner: strings data.txt | grep "=="