3rdIteration / btcrecover

BTCRecover is an open source wallet password and seed recovery tool. For seed based recovery, this is primarily useful in situations where you have lost/forgotten parts of your mnemonic, or have made an error transcribing it. (So you are either seeing an empty wallet or gettign an error that your seed is invalid) For wallet password or passphrase recovery, it is primarily useful if you have a reasonable idea about what your password might be.
https://btcrecover.readthedocs.io/
GNU General Public License v2.0
598 stars 191 forks source link

A large token file seems to crash the program and it goes to command prompt. #13

Closed satoshidoriannakamoto closed 4 years ago

satoshidoriannakamoto commented 4 years ago

When I have a short list of tokens the program runs ok. When the list of tokens is large, say 8000 tokens, the program crashes. How to fix this?

3rdIteration commented 4 years ago

Try with --no-dupchecks

satoshidoriannakamoto commented 4 years ago

Yes, I've tried --no-dupchecks and also --no-eta, but the programs just exits to command prompt.

3rdIteration commented 4 years ago

I just noticed that this was a tokenlist, not a password list. So are you saying that you have 8,000 different building blocks that could make up your password?

satoshidoriannakamoto commented 4 years ago

Yes, I have a token list with 8000 words on each line. However, I specify --max-tokens 3 or --max-tokens 4 to limit the search.

3rdIteration commented 4 years ago

That is an extremely large token list and I can see why it would quickly hit memory limits. Will knock some stuff up at my end to reproduce and have a look after the Py3, multi-derivation path and seed unscrambling stuff is sorted.

satoshidoriannakamoto commented 4 years ago

Ok. Just FYI I am using https://github.com/madacol/btcrecover/tree/p2wpkh-p2sh

Also the dictionary I am using is: https://github.com/first20hours/google-10000-english

I removed words less than 3 chars.

satoshidoriannakamoto commented 4 years ago

Ok, I just downloaded https://github.com/3rdIteration/btcrecover and was able to test the bip39 functionality. It found a test wallet I made. Now to find the real passphrase...

satoshidoriannakamoto commented 4 years ago

I shorted the list to 5000 with --max-tokens 4. It no longer crashes and is now running and counting the passwords. For now this is ok so I am closing this ticket. I think it is a memory issue.