Post
Topic
Board Bitcoin Technical Support
Merits 4 from 2 users
Re: Corrupted encrypted wallet.dat Possible to recover?
by
nyaa
on 20/03/2016, 10:38:18 UTC
⭐ Merited by ETFbitcoin (2) ,RickDeckard (2)
Yey! I did it  Grin

Today found out that pywallet has recovery feature, and it worked:
Created 1GB FAT32 partition on flash drive, copied corrupted wallet.dat on it and

Code:
nyaa@ubuntu:~/github/pywallet$ sudo ./pywallet.py --recover --recov_device /dev/sdb1 --recov_size 1Gio --recov_outputdir /home/nyaa/
Enter the passphrase for the wallet that will contain all the recovered keys: 123

Enter the possible passphrases used in your deleted wallets.
Don't forget that more passphrases = more time to test the possibilities.
Write one passphrase per line and end with an empty line.
Possible passphrase: Some-Passphrase
Possible passphrase:

Starting recovery.
0.10 Go read
0.20 Go read
0.30 Go read
0.40 Go read
0.50 Go read
0.60 Go read
0.70 Go read
0.80 Go read
0.90 Go read
1.00 Go read

Read 1.1 Go in 0.2 minutes

Found 1 possible wallets
Found 103 possible encrypted keys
Found 0 possible unencrypted keys

Possible wallet #1
    with passphrase #1  ..........

All the found encrypted private keys have been decrypted.
The wallet is encrypted and the passphrase is correct


Importing:

Importing key    1/100:
...

And one of change addresses with all bitcoins on it was there!

Thanks jackjack for the awesome tool