Goal: Find the password and log into level 10. The password is in the data.txt file and is the only human readable code preceded by multiple ’=’
If we try to cat data.txt
we will see that the the file is mainly non-human readable text. What we can do is feed this all into grep
to search through it for us. We will use the the -a
flag to process a binary file as if it were text otherwise it will try to interpret the binary.
bandit9@bandit:~$ cat data.txt | grep -a '==='
�D��]���
�������h#!��Q������J��s�V�zl7����POl%Y]�H��a�^�U␦vTo�D�|�@T����^�N����8?g��}��b�}��?
Q#�g��m1x��}========== the�Ѧ+��i�d�W��^�)F1��>)٘S�K�3�PZ���t�&xs肉WB/�2��ÜB�� �Ź/�Bjɢ��␦���<���э�7��<������u�/��d|
�-������n
#��i�u=
���7�֣�n�)�Uջ��ش��5bBK��K���}x�>}:��4Rl_7gH��D:�27��4����C�F��y
��6��!��&���z�B��$�l�_G␦��p�hqI.X���0�2����H����$�Tw��m��⧫���o3�m�t0��p��~�L�3JprD========== passwordi��� �L� ~ˏ��<@��Ȅh�$���%Q5���D��k� �|�3
~�T���f�;�o9�s��P#t�+Pe��쵟
OqDf��.�8���Czmnf&v���l:��F�X����K���b�M�
�C���I���Bi�>��Y�
�Еk��� $�nX��T=~�}*4�a2�?���TO"'�&�J�~fDV3========== is�d�5z(��#�&s�T!1�0�&p���oq��
�n�R� ���␦F
��z�|!�(�i�f��+��A6�4�+'��F���T=��b5��A�}�
���#�}#9���㵴��b�R�+�̊�~&��Oiu���?Vh��M��}^��Qp^�G���==�6��!�s���T:� ��ٱ�éT:�k���������A����U�2�Qc�ɐ�%#�g+;YA_e�kr�����X53|�f8+e
](�.�ۍg�:7���n�������n�p��������� �������CD�`v�oS�Q�-<␦]�`�@�#H Uum����BiA��j堵��!O�&�����D9========== [REDACTED]
We can see at the end of the file we can see our password (represented as [REDACTED]
) for level 10. Now we have our password for level 10 and we sign into the next level!