ajf2 / PdfDecryptor

Tool for decrypting PDF files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PdfDecryptor

Simple command line app for decrypting password-protected PDF files, if you know the password. Built using iText, which does all the hard work better than the other packages I tried.

Usage:

PdfDecryptor.exe <path-to-pdf-file>

Enter the correct password and it'll produce a .dec.pdf file in the same location as the input.

TODO:

  • Enter an incorrect password and it'll throw an exception. It should display a message and take input for a new password attempt.
  • Pressing backspace adds \b to the password string instead of removing the most recently added character.
  • There may be problems with other keys e.g. Home/End/Cursors.
  • It won't work if your PDF file's name doesn't end in .pdf.
  • It probably throws an exception if your file is not a PDF file.

About

Tool for decrypting PDF files.

License:GNU Affero General Public License v3.0


Languages

Language:C# 100.0%