bkcrack icon indicating copy to clipboard operation
bkcrack copied to clipboard

Specify characters that will be used in password recovery

Open puujee12 opened this issue 3 years ago • 5 comments

Hello, I was wondering that, is it possible to specify characters that will be used in password recovery? I'm trying to recover password with 28 length and I know that this password uses Decimals and upper-case Hexadecimal characters only. Even though there is ?u?d option it will take very long time.

puujee12 avatar Sep 06 '22 08:09 puujee12

Hi, yes you can specify a character set explicitly as a list of characters. Sequences with a question mark are shortcuts. For uppercase hexadecimal digits, you can use 0123456789ABCDEF, or in short ?dABCDEF.

kimci86 avatar Sep 06 '22 09:09 kimci86

As a side note, I have been working some more one password recovery recently. Improvements should be coming in the next few days :crossed_fingers: such as being able to specify an exact password length, which would be useful in your case.

kimci86 avatar Sep 06 '22 10:09 kimci86

Thank you very much for your fast reply and incredible tool xD

puujee12 avatar Sep 06 '22 10:09 puujee12

With the current version on master branch (build artifacts available here), you can use: bkcrack -k X Y Z --bruteforce ?dABCDEF --length 28

kimci86 avatar Sep 07 '22 17:09 kimci86

Note that exploring this search spaces of $16^{28} \approx 5.19\times10^{33}$ candidates will takes a few billion years.

kimci86 avatar Sep 07 '22 17:09 kimci86