Warning: This post contains a solution!
Only continue if:
1.) you want to see a possible alternative solution or
2.) you are stuck and need a hint!
Connect to the server using the following credentials:
Level Goal is:
The password for the next level is stored in the file data.txt in one of the few human-readable strings, beginning with several ‘=’ characters.
Let us first check, which file type the file 'file.txt' has:
bandit9@bandit:~$ file data.txt data.txt: data
It is a data file, no plaintext ASCII file.
We can use the strings command to get all available strings in this file and pipe the output to grep to look for the pattern '=':
bandit9@bandit:~$ strings data.txt | grep '=' 2========== the ========== password >t= yP rV~dHm= ========== isa =FQ?P\U = F[ pb=x J;m= =)$= ========== truKxxxxxxxxxxxxxxxxxxxxxxxxxxxx iv8!=