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

Update default_query.rs #33

Closed MKVO-pts closed 2 months ago

MKVO-pts commented 5 months ago

Solution Issue #21 and #28: default_query didn't had lower case letters, though explaining why failing to crack password "bored"

Optimization: Instead of cloning self.current at the beginning of the method, initialize var next directly with self.current.clone(), expect reduction in memory allocation, copying overhead, resulting in faster execution times and lower memory usage.

mufeedvh commented 2 months ago

Thank you, LGTM! Merging this now! 🚀