Closed Pommaq closed 8 months ago
Running
env LOG_LEVEL=info cargo run --release -- --filename examples/datetime-15012000.pdf date 1900 2000
does not successfully crack the PDF, while
env LOG_LEVEL=info cargo run --release -- --filename examples/datetime-15012000.pdf date 1900 2001
succeeds despite this generator sending passwords inclusively. I suspect there is a bug somewhere else that will need to be investigated
Adding debug logging to the DateProducer next() function shows the correct password is being sent but not recognized.
2023-12-03T21:34:13.151Z DEBUG pdfrip::core::production::dates > Sending 15012000 from DateProducer
This means there is a race condition somewhere. Likely in engine.rs.
Thank you! Merging this right away! :raised_hands:
This addresses #12.