Git Product home page Git Product logo

core-decrypt's Introduction

core-decrypt

Tool for recovering Bitcoin Core wallet passwords. Requires an OpenCL device.

Note: Please test against some of the sample wallets to verify the program works properly. Each vendor has a different OpenCL implementation, and I am unable to test all of them

Usage:

core-decrypt [OPTIONS] [ENCRYPTED_MASTER_KEY] [WORD FILES ..]

--list-devices	List devices then exit
--device NUM    Use device NUM
--start NUM     Specify where in the password space to start

Reading the encrypted master key

Run the walletinfo.py script on the wallet file. The output contains the encrypted master key, number of iterations, and salt.

# python walletinfo.py wallet.dat
ec01bd09d2befa62ec34609fa2e19316063a9a688aef03494ab9a4d8ba67e24c414609b1ce5abb850002ecc0

Recovering the password

Pass the output to the core-decrypt program

# core-decrypt.exe ec01bd09d2befa62ec34609fa2e19316063a9a688aef03494ab9a4d8ba67e24c414609b1ce5abb850002ecc0  dictionary.txt

The dictionaries contain one password per line. The program will try each password until it finds the correct one or exhausts the list.

More complex passwords

Multiple dictionaries can be combined together to form complex password combinations

For example, if you know the password consists of two words and a number, you might use

# core-decrypt <encrypted key> words1.txt words2.txt 0_to_9.txt

This will try all combinations of passwords in the form,

[word from words1.txt][word from words2.txt][number]

Sample wallets

There are some sample wallets for testing. The file name of the wallet is the password.

TODO List:

  • Multi-GPU support
  • Password rules
  • Allow more performance tuning by user
  • Better word lists

core-decrypt's People

Contributors

brichard19 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.