shreepads / pdfcrack-mp

OpenMP update with patterns for pdfcrack
GNU General Public License v2.0
38 stars 12 forks source link

Support for patterns with regex-like character classes for Latin-1 #20

Open shreepads opened 9 years ago

shreepads commented 9 years ago

The current pattern support for character classes is limited to characters from the basic ASCII characters, A-Z, a-z, 0-9 and some punctuation chars.

Apart from the known issue re the chars {, }, [ and ](see Issue #12) there is also the issue that up to PDF versions 1.6 and 1.7, passwords are allowed with the full Latin-1 character set.

See:

In order to handle this better, add the following character classes

Also see Issue re support for longer Unicode character patterns.