pdfcrack

Crack PDF user and owner passwords using wordlist or brute force

brewmacoslinux
Try with needOr install directly
Source

About

PDF files password cracker

Commands

pdfcrack

Examples

Crack PDF password using a wordlist$ pdfcrack -f encrypted.pdf -w wordlist.txt
Crack PDF password with brute force on lowercase letters$ pdfcrack -f encrypted.pdf -c a
Attempt cracking with specific character set (lowercase + digits)$ pdfcrack -f encrypted.pdf -c an --length 4-8