Rating: 2.0

outlookを用いてメールを開きます.PDFファイルはダウンロードし,本文を確認します.「パスワードは郵便番号」との記載がありました.
アメリカでの郵便番号は数字6桁なので,これを全探索します.

```py
from pikepdf import Pdf

def decrypt_pdf(encrypted_file: str, password: str, file_out_path: str = "out.pdf"):
try:
pdf = Pdf.open(encrypted_file, password=password)
pdf_unlock = Pdf.new()
pdf_unlock.pages.extend(pdf.pages)
pdf_unlock.save(file_out_path)
except:
pass

for i in range(1, 99999):
decrypt_pdf(encrypted_file="result.pdf", password="{:05}".format(i))
```

最終的にout.pdfに答えが記載されています.

`CSR{BigBigEntropy}`