Git Product home page Git Product logo

brute38's People

Contributors

cculianu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

brute38's Issues

Passing the encrypted key as bytes instead of as string

The DecryptWithPassphrase method takes the key as a string and decodes it to a byte array. This decoding is done with every passphrase guess.

I think performing the decoding once and handing over the byte array as the key will increase performance.

Bug in the way password with custom characters increments.

Tested on arm, x86 Linux, Windows, Mac... when running a command with custom characters over a certain amount of custom fields - the additional range of characters does NOT increment. I've tested both with a --resume flag and with just an example. For instance:

~/go/bin/brute38 --charset='ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890' '?????????????????' 6Psdgsdgsgsdg.... will output to:

KeyType: ECMultKey Network: Bitcoin Pattern: ????????????????? Unknown chars: 17 Password length: 17 Total passphrase space size: 18446744073709551615 1998934881474191231 passphrases tried (latest guess: KJHT3K0JL1GPAAAAA )
^---------------from four characters at the end.
Also the counter, does not appear to count base 36 correctly as you can see from the base 36 character set.

Not sure what to to fix it, I have a wrapper, but this is an interesting limitation I wish I had realized was an issue a few months ago.

Better support for masks

Would be nice to support masks for the given character set - to specify a special character, an upper, lower, number etc.

This would be quite powerful when combined with using the pack statsgen.py too to create a mask that could cover a given range.

default number of threads should be number of physical cores, not logical

the default number of threads should be set to the number of physical cores, not logical cores. If you have a 4 core machine with hyperthreads, the default number of threads is 8. This is actually a bit slower than if 4 threads were used, since each core is already fully utilized and the extra 4 threads incur extra context switching.

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.