Bitcoin Forum
November 10, 2024, 10:28:48 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [GUIDE] Recover your deleted keys  (Read 7076 times)
jackjack (OP)
Legendary
*
Offline Offline

Activity: 1176
Merit: 1280


May Bitcoin be touched by his Noodly Appendage


View Profile
August 19, 2011, 01:43:22 AM
Merited by LoyceV (42), ABCbits (4), guigui371 (1)
 #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:
Code:
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):
Code:
./pywallet.py --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:
Code:
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.
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1026



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

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.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
Pages: [1]
  Print  
 
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!