Bitcoin Forum
July 24, 2021, 05:07:25 PM *
News: Latest Bitcoin Core release: 0.21.1 [Torrent]
   Home   Help Search Login Register More  
Pages: [1]
Author Topic: [GUIDE] Recover your deleted keys  (Read 6779 times)
Offline Offline

Activity: 1176
Merit: 1111

May Bitcoin be touched by his Noodly Appendage

View Profile
August 19, 2011, 01:43:22 AM
Merited by LoyceV (8), guigui371 (1)

It works for sure on Linux (surely OSX too), Windows is still untested

  • Download Pywallet. You only need to install Python 2.7. If you encounter some problems installing Python, post in pywallet thread, someone will answer you quickly
  • Open a console (Windows-R then "cmd" then Enter on windows)
  • Run:
cd 'the directory where you downloaded pywallet'
  • Assuming that:
    • The device you want to read is /dev/sda3
    • The size of /dev/sda3 is 30.1Gio
    • You want pywallet to write the new wallet containing the found keys in /home/jackjack/recovered_wallets
  • Run (you may have to use sudo to read devices):
./ --recover --recov_size 30.1Gio --recov_device /dev/sda3 --recov_outputdir /home/jackjack/recovered_wallets
  • Wait about 25 minutes per 100 Go, plus the time to import the keys (a few minutes)

When it's done you will see:
Importing key 102/103:
Address: 1H.....
Privkey: 5J.....

Importing key 103/103:
Address: 1P.....
Privkey: 5K.......

The new wallet /home/jackjack/recovered_wallets/recovered_wallet_1313635724.dat contains the 103 recovered keys

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Hero Member
Offline Offline

Posts: 1627146445

View Profile Personal Message (Offline)

Reply with quote  #2

Report to moderator
Offline Offline

Activity: 1302
Merit: 1001

View Profile
August 19, 2011, 02:33:10 AM

Hmm.  Is there a portable way to find the size of the block device?

My first thought was to just run until it ran out of data to read, but that probably wouldn't work if there are bad blocks on the device.

I routinely ignore posters with paid advertising in their sigs.  You should too.
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!