Skip to main content

Posts

Showing posts with the label Bandit 10

Over the Wire - Bandit 10

Bandit 10 Objective Level GoalThe password for the next level is stored in the file  data.txt  in one of the few human-readable strings, beginning with several ‘=’ characters Solution so we need to find text in the data.txt file that has several == characther. first I tried just a grep for == in data.txt bandit9@bandit:~$ grep  "==" data.txt Binary file data.txt matches grep complains that is a binary file not a text file so let try again with the -a switch here is the man about grep for -a -a, --text Process a binary file as if it were text; this is equivalent to the --binary-files=text option. ***edited out some the results to make it more readable bandit9@bandit:~$ grep -a "==" data.txt       g͇�#/y�ڹc4|�"�X����m���Y��GB7�ճ&�ե��p����s#�k&K��1��s��֯F�B0�2========== the�X�#��!�n�~�                                                                                          '(U�#O�TӲ��T�m����z��*�S\���g���M&T����þ========== pa