Level 9 → 10
Last updated
Last updated
The password for the next level is stored in the file data.txt in one of the few human-readable strings, preceded by several =
characters.
List the content of the current directory:
This confirms the presence of the data.txt file.
Display the content of the data.txt file:
To find human-readable strings proceeded by =
characters, the string
command was used in combination with grep
:
strings data.txt
: Extracts printable strings from the file
|
: Pipes the output to the next command
grep "="
: Searches for lines containing '=' characters
The password retrieved: FGUW5ilLVJrxX9kMYMmlN4MgbpfMiqey
Access the next level:
Enter the password when prompted.
The strings
command is crucial for extracting readable text from binary files
Grep
is versatile for finding patterns, but exact patterns may need adjustment
Visual inspection of output can be necessary when automated filtering is imprecise
Binary files often contain hidden, readable information
-- Othmane