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= =)$= ========== truKLdjsbJ5g7yyJ2X2R0o3a5HQJFuLk iv8!=
And the result is: truKLdjsbJ5g7yyJ2X2R0o3a5HQJFuLk