Skip to main content

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

The output file lists found private keys, in base58 key WIF (wallet 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.

Credits

This project is a maintained fork of pierce403/keyhunter.

Metadata

Release files for keyhunter 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for keyhunter 0.1.0
File Size Uploaded
keyhunter-0.1.0.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for keyhunter 0.1.0
File Interpreter ABI Platform
keyhunter-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / keyhunter-0.1.0.tar.gz

Download URL keyhunter-0.1.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
169f31740067af8abd7f89491482aa94b736471c18c3fdf7d2607476055f8593
BLAKE2b-256 checksum
How to use checksums
f3b01d867b363a46f2a0e9f2c585aeef85dcde57a79a23ba72d1486b88d6b681
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

Release files / keyhunter-0.1.0-py3-none-any.whl

Download URL keyhunter-0.1.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
863e73db00965096ced01b21ae84e64e3f59e65be1b73cbd8b00c65aed77d917
BLAKE2b-256 checksum
How to use checksums
49ece997328715c23089a0a3a3abd3d34ea53edfd94f9432430b62055993d260
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page