PDFCrack

Crack a PDF file’s password.

Installation

sudo apt install pdfcrack

Bruteforce password

WL=/usr/share/wordlists/rockyou.txt
pdfcrack -f <filename>.pdf -w $WL