Skip to content

Mohamed1976/EasyPasswordRecoveryPDF

Repository files navigation

EasyPasswordRecoveryPDF

PDF password recovery tool, The smart, the brute and the list.

This password recovery tool is a Windows 10 desktop application which provides a way of recovering PDF passwords. It uses the itextsharp library to retrieve the hashed user and owner password. After which the retrieved hashed passwords are compared to different passwords. The application user can supply passwords in four different ways, manually by clicking the lock icon, using dictionaries, regular expressions and using a brute force approach. The dictionary editor is shown below.

screenshot

By clicking the lock icon, you can manually enter a password, after which the password can be validated by clicking the validate button.

screenshot

You can view the PDF details by double clicking the PDF entry in the PDF file datagrid.

screenshot

An interesting feature of this application is the Smart editor. This editor allows you to specify a regular expression which can then be used to generate passwords. The Smart editor is shown below.

screenshot

You can add a new regular expression by clicking the plus button, which opens the regular expression editor shown below. The regular expression editor allows you to preview the matches by pressing the start button.

screenshot

And last but not least, you can use the Brute force editor. It allows you to generate all possible passwords for a particular charset and password length. Brute force iterations are particularly effective for passwords that only consist of digits. When you press the preview button in the Brute force editor, a summary of the used charset and the expected iteration count is shown.

screenshot

For example when the password charset only consists of digits and the password length ranges between one and nine digits, the following Brute force iterations will be performed.

screenshot

The Settings view allows you to modify dictionary passwords to lowercase, UPPERCASE and Titelcase.

screenshot

This application uses two external libraries. It uses the itextsharp library to retrieve the hashed user and owner password, which is a little overkill. In the future the itextsharp library will be replaced by a more compact PDF parser, if you have any suggestions, please let me know. The second library it uses, is the Generex library, which is used to generate strings matching the specified regular expressions.

screenshot

The clickonce application can be launched from here. After you have downloaded the setup.exe to your local Windows 10 computer, run the setup.exe and it will guide you through the installation process. Alternatively you can clone the project and build it yourself.

Password dictionaries can be found here, here and here.

P.S. More details about this app here.

Releases

No releases published

Packages

No packages published