glv2 / bruteforce-wallet

Try to find the password of an encrypted Peercoin (or Bitcoin, Litecoin, etc...) wallet file.
Other
367 stars 136 forks source link

Display progress info on SIGUSR1 #1

Closed pstiasny closed 9 years ago

pstiasny commented 9 years ago

Hello,

I was using your code to try to recover a btc wallet password and thought it would be nice to be able to get some data about progress.

With this patch bruteforce-wallet will print out some basic stats when interrupted with SIGUSR1 (like dd for example).

Not 100% confident about the search space cardinality math there - you might want to take a look.

Thank you for your great work.

glv2 commented 9 years ago

Thanks for this patch.

There was a little bug in it that I corrected in commit e8eb0617cf6337f74fc47d3a834e2ec6973418b5 (the number of checked passwords only contained the counter of the last thread instead of the sum of the counters of all the threads).

pstiasny commented 9 years ago

Good catch, thanks.