/keyhunter

A tool to recover lost Bitcoin Core private keys from dead hard drives

Primary LanguagePython

keyhunter

A tool to recover lost bitcoin private keys from dead hard drives.

Usage

python3 keyhunter.py -i /dev/sdX --log ./sdX_log.log -o ./sdX_found_keys_list.txt
# --or--
./keyhunter.py -i /dev/sdX --log ./sdX_log.log -o ./sdX_found_keys_list.txt

The output should list found private keys, in base58 key import format.

To import into bitcoind, use the following command for each key:

bitcoind importprivkey 5KXXXXXXXXXXXX
bitcoind getbalance

Features and Limitations

  • Supports both pre-2012 and post-2012 wallet keys.
  • Supports logging to a file.
  • Cannot find encrypted wallets.

DONATIONS --> 1YAyBtCwvZqNF9umZTUmfQ6vvLQRTG9qG