shreepads / pdfcrack-mp

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

Change datatype of variable that stores number processed #17

Open shreepads opened 9 years ago

shreepads commented 9 years ago

The variable nrprocessed that stores a count of the number of passwords processed in order to show runtime stats is unsigned int.

Change to unsigned long long int in line with other password index variables.

shreepads commented 9 years ago

nrprocesed only holds the number processed since the last run of the printProgress() method as it is set to 0 at the end of the method.

As such it need not be changed immediately - will need a true 6 core machine cracking Rev 2 or true 4 core machine cracking Rev 5 security to trigger this bug.