Bitcoin Forum
April 25, 2024, 01:18:52 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [GUIDE] Recover your deleted keys  (Read 7011 times)
jackjack (OP)
Legendary
*
Offline Offline

Activity: 1176
Merit: 1233


May Bitcoin be touched by his Noodly Appendage


View Profile
August 19, 2011, 01:43:22 AM
Merited by LoyceV (42), ABCbits (1), 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.
1714051132
Hero Member
*
Offline Offline

Posts: 1714051132

View Profile Personal Message (Offline)

Ignore
1714051132
Reply with quote  #2

1714051132
Report to moderator
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714051132
Hero Member
*
Offline Offline

Posts: 1714051132

View Profile Personal Message (Offline)

Ignore
1714051132
Reply with quote  #2

1714051132
Report to moderator
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1024



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!