0% found this document useful (0 votes)
9 views5 pages

Srushti CS Ass3

The document details an assignment by Srushti Shah on using PDFCrack, a tool for recovering passwords from PDF files, on Kali Linux WSL. It outlines the features, syntax, and options available in PDFCrack, as well as the process of creating a password-protected PDF and successfully cracking it. The conclusion confirms the successful extraction of the user password from the encrypted PDF file.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views5 pages

Srushti CS Ass3

The document details an assignment by Srushti Shah on using PDFCrack, a tool for recovering passwords from PDF files, on Kali Linux WSL. It outlines the features, syntax, and options available in PDFCrack, as well as the process of creating a password-protected PDF and successfully cracking it. The conclusion confirms the successful extraction of the user password from the encrypted PDF file.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

191071902

Srushti Shah
Final Year B. Tech
Computer Engineering
Assignment No. 3
System Used
Kali Linux WSL for Windows 10 was used.

PDFCrack is a GNU/Linux (other POSIX-compatible systems should work too)


tool for recovering passwords and content from PDF-files. It is small, command
line driven without external dependencies. The application is Open Source (GPL).

Features

• Supports the standard security handler (revision 2, 3 and 4) on all known


PDF-versions
• Supports cracking both owner and userpasswords
• Both wordlists and bruteforcing the password is supported
• Simple permutations (currently only trying first character as Upper Case)
• Save/Load a running job
• Simple benchmarking
• Optimised search for owner-password when user-password is known
Syntax: pdfcrack [ -f ] FILE [OPTION]...
Options
→ -b, --bench: perform benchmark and exit
→ -c, --charset=STRING: Use the characters in STRING as charset
→ -w, --wordlist=FILE: Use FILE as source of passwords to try
→ -n, --minpw=INTEGER: Skip trying passwords shorter than INTEGER
→ -m, --maxpw=INTEGER: Stop when reaching
this INTEGER passwordlength
→ -l, --loadstate=FILE: Continue from the state saved in FILE
→ -o, --owner: Work with the ownerpassword
→ -u, --user: Work with the userpassword (default)
→ -p, --password=STRING: Give userpassword to speed up breaking
ownerpassword (implies -o)
→ -q, --quiet: Run quietly
→ -s, --permutate: Try permutating the passwords (currently only supports
switching first character to uppercase)
→ -v, --version: Print version and exit

Making a Password Protected PDF


qpdf was used to set user password and owner password on the pdf sign.pdf.

“kdkux” is the user password and “bmpdk” is the owner password.


pdfcrack
Cracking the User Password

Cracking the Owner Password

Providing the user password makes cracking the owner password faster.
Extracting Crackable Information from Encrypted PDF

Cracking the Password

“kdkux” was also obtained as the user password with pdfcrack.


Verification

Opening the cracked pdf

CONCLUSION: Thus, from this assignment I cracked a password protected pdf


file using pdfcrack.

You might also like