Giter Site home page Giter Site logo

safarmirek / mnemonic-code-passphrase-cracker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iancoleman/bip39

0.0 0.0 0.0 17.59 MB

A web tool to make an dictionary attack on bip32 mnemonic passphrase

Home Page: https://iancoleman.io/bip39/

License: MIT License

Shell 0.04% JavaScript 14.04% Python 0.05% TypeScript 0.08% CSS 0.04% HTML 85.76%

mnemonic-code-passphrase-cracker's Introduction

Mnemonic Code Passphrase Cracker

A tool for running a dictionary attack on mnemonic code passphrase. It is a fork of popular tool https://github.com/iancoleman/bip39.

Online Version

https://mnemonic.safar.dev

Standalone offline version

Download mnemonic_attack.html from the releases.

Open the file in a browser by double clicking it.

This can be compiled from source using the command python compile_attack.py

Usage

Enter your BIP39 phrase into the 'BIP39 Mnemonic', select the file with the dictionary, and select the coin.

For most popular coins, there are specified blockbook URLs, if one is not specified, you need to provide the URL of the blockbook instance for the given coin.

Some important fields

Dictionary Format

The dictionary file should be in text format with one word per line. The empty word is automatically added to the list and is always considered the first word in the list.

secretPassword1
secretPassword2
password

Blockbook

For checking of resources behind the generated addresses, application uses Blockbook. It is important to mention application uses its web socket API to communicate to avoid rate limitations.

Address Gap

The Bitcoin proposal BIP44 specifies the address gap. It is a number of unused addresses from the start after which resource discovery is stopped. BIP44 sets this limit to 20, but not all wallets enforce that, and in some the gap is configurable. Increasing the gap can lead to the discovery of some resources, but it also increases the time complexity of the search. It is suggested to use default 20 and use different number only if you have suspicions that a different limit was used.

Account Gap

The Bitcoin Proposal BIP44 also specifies that a new account can only be created if the previous one is used, but this is also broken by some wallets, for example, the Electrum wallet does allow users to specify any account number. If you have suspicions user tried to hide the assets by using some bigger number as the account number, increase the gap accordingly, or if you discover the unusual derivation path, you can use the BIP141 options and specify the derivation path by yourself.

Making changes

Please do not make modifications to mnemonic_attack.html, since they will be overwritten by compile_attack.py.

Make changes in src/*.

Changes are applied during release using the command python compile_attack.py, so please do not commit changes to mnemonic_attack.html

License

This BIP39 tool is released under the terms of the MIT license. See LICENSE for more information or see https://opensource.org/licenses/MIT.

mnemonic-code-passphrase-cracker's People

Contributors

iancoleman avatar skirondotnet avatar jestevez avatar mctrivia avatar sui77 avatar dangershony avatar secinthenet avatar garrettian avatar majikandy avatar r1979 avatar amougel avatar xarakas avatar robiiinos avatar alkley avatar hatgit avatar robjohnson189 avatar beachm avatar charlesrocket avatar andreasgassmann avatar pavlostze avatar dependabot[bot] avatar mikeyb avatar aitorp6 avatar you21979 avatar bytefly avatar woodser avatar scribenetwork avatar janko33bd avatar 4eadd52d avatar dimitris-t 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.