Code Monkey home page Code Monkey logo

bruteforce_satoshi's Introduction

bruteforce_satoshi

A tool for brute-forcing passpharases of Satoshi's Treasure

usage

This tool requires python 3.5 or later.

> python3 bruteforce_satoshi.py k1 '[ao]r?i{tal,t}'
write cache data to encrypted_msgs.txt...
start...
found: orbital

pattern syntax

You can use '?' and '[abc]' and '{abc,def,hij}' as shell expansions.

Some character sets are defined. '{%lower}' means lowercase alphabets.

'?' is replaced to '{%lower}' by default. You can specify default charsets by '-s' option.

ex: -s %alpha,%number,-,.

'-l' option is useful for testing.

> python3 bruteforce_satoshi.py k1 '[ao]rbi{tal,t}' -l
orbit
arbit
arbital
orbital
total: 4 candidates

Or, you can use '-c' option.

> python3 bruteforce_satoshi.py k1 'or?????' -c
total: 11881376 candidates

using a dictionary file

> cat dictionary.txt
black
white
hole
star
> python3 bruteforce_satoshi.py --dic dictionary.txt k3 '{%dic}{%dic}'
write cache data to encrypted_msgs.txt...
start...
found: blackhole

parallel execution

> time python3 bruteforce_satoshi.py k1 'or?????'
start...
found: orbital
python3 bruteforce_satoshi.py k1 'or?????'  19.26s user 0.03s system 99% cpu 19.297 total
> time python3 bruteforce_satoshi.py k1 'or?????' -p 2
start...
found: orbital
python3 bruteforce_satoshi.py k1 'or?????' -p 2  27.63s user 0.70s system 178% cpu 15.886 total
> time python3 bruteforce_satoshi.py k1 'or?????' -p 4
start...
found: orbital
python3 bruteforce_satoshi.py k1 'or?????' -p 4  30.11s user 0.86s system 276% cpu 11.197 total

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.