mufeedvh / pdfrip

A multi-threaded PDF password cracking utility equipped with commonly encountered password format builders and dictionary attacks.
MIT License
589 stars 67 forks source link

Parse command for Year Range in ddmmyyyy format #12

Closed ArgX11 closed 7 months ago

ArgX11 commented 8 months ago

Let's say I know the password is in DDMMYYYY format but I don't know the year. So how do I parse the command for the year range 1900 to 2000 so that pdfrip checks all dates between 1900 & 2000 in DDMMYYYY format?

Pommaq commented 8 months ago

The way the code is currently written it appears you will need to run the program once for each year. so pdfrip date --year 1900 then pdfrip date --year 1901 and so on until it succeeds. I think it's worth to add the capability of creating a span of years instead

Pommaq commented 8 months ago

I addressed this in #13 so you can do it in one go instead. pdfrip --filename file_to_decrypt.pdf date 1900 2000