✅ MuPDF: 9 bits, 512 keys, 7 milliseconds
bash
$ v/bin/python pocs/pdf_decryptors/mupdf/decrypt.py secret.pdf decrypted.pdf [+] Recovered and verified the AES-256 file key seed time(NULL) mod 512 = 33 key 022531fd36d99f642258484ad123e7ab0188b951af6718623a11b813364c7c7b [+] Wrote unencrypted PDF to decrypted.pdf (0.12 s user, 0.63 s wall) $ mutool draw -F txt -o - decrypted.pdf TOP SECRET: the mermaid lands at 0400. Auth code KHAKI-7741.
commit 45307da
MuPDF... that's a name I've not heard in many years. I used to use it to view PDFs, and Feh for images, back in the days of Konqueror and when Chrome was in the future and its engine was still called KHTML and a KDE library.