Login
- ssh :
ssh bandit9@bandit.labs.overthewire -p 2220
- password :
4CKMh1JI91bUIZZPXDqGanal4xvAg0JM
Task :
- fine a the password inside a file
data.txt
, that is located next to some equal signs
Solution
- after running the command
file data.txt
we notice that filedata.txt
is not a text file it is a binary file, - to fix that we gonna use the command
strings
which can turn data into readable characters - then with the pipe command
|
we find the password withgrep
strings data.txt | grep =