clmystery/solution

22 lines
1.1 KiB
Plaintext

Checking Your Answer on Mac/Linux:
Copy and paste the following command, replace John Doe with the suspect's name you want to check, and execute it from inside the main clmystery directory:
echo "John Doe" | $(command -v md5 || command -v md5sum) | grep -qif /dev/stdin encoded && echo CORRECT\! GREAT WORK, GUMSHOE. || echo SORRY, TRY AGAIN.
Checking Your Answer on Windows:
Copy and paste the following command, replace John Doe with the suspect's name you want to check, and execute it from inside the main clmystery directory:
echo "John Doe" | $(command -v md5 || command -v md5sum)
This will give you a long code of numbers and letters. Copy and paste the following command, replace My Code with the code you got, and execute it:
grep -qi "My Code" encoded && echo CORRECT\! GREAT WORK, GUMSHOE. || echo SORRY, TRY AGAIN.
Seeing The Answer:
To give up and view the correct answer, copy and paste the following command and execute it from inside the main clmystery directory:
echo " " && sed -n '/Z/p' encoded | tail -n 6 | cut -c 8,22,23,41 && echo " "