gurnec / btcrecover

An open source Bitcoin wallet password and seed recovery tool designed for the case where you already know most of your password/seed, but need assistance in trying different possible combinations.
GNU General Public License v2.0
1.29k stars 688 forks source link

decode wallet.aes.json #197

Open winteraz opened 6 years ago

winteraz commented 6 years ago

Is it possible to decode wallet.aes.json using btcrecover? I know the passwords(first and second) so no "trial and error" is required but I need to decode wallet.aes.json so that I can use it offline.

pedrohrcunha commented 6 years ago

Yes, you can. Please run this program: https://github.com/gurnec/btcrecover/blob/master/extract-scripts/download-blockchain-wallet.py

Do you know how to do it?

travelmassive commented 6 years ago

Not that I'm aware of (@pedrohrcunha I think that @winteraz wants to decode the wallet into plaintext, not download it).

From what I can see, the program decodes chunks (to be more efficient and speedy) so you'd have to investigate the code base a little to determine how to print out the decrypted wallet.

I'm hoping that there is a tool or command line that @gurnec has developed that I've overlooked :)

If you are proficient with compiling Java and using command line (sorry, no time to assist if you don't) you could look at compiling the a tool I built from the source code of (older) blockchain Android app. This decodes legacy wallets for me.

Here's the gist (you will need the jar files also - I could email them to you).

https://gist.github.com/travelmassive/e6d060cb12a723e62290b1bedfe96775