mufeedvh/pdfrip

Parse command for Year Range in ddmmyyyy format

ImArghya7 opened this issue · 2 comments

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

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

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