Small Kata project written in Java to recursively find / bruteforce a predefined string.
You can simply create a Bruteforce
instance for a predefined charset with one of the following factory methods:
getAlphaLowerChars()
: lower case charsetgetAlphaUpperChars()
: upper case charsetgetNumericChars()
: numeric charsetgetSpecialChars()
: special character charsetgetAlphaNumericUpperChars()
: alphanumeric upper charsetgetAlphaNumericLowerChars()
: alphanumeric lower charsetgetAlphaNumericChars()
: alphanumeric charsetgetAllChars()
: all characters (upper case, lower case, numeric, special characters)
Alternatively you can use the following method if you want to use a custom charset:
getCustomChars(String chars)
: custom charset
Start the bruteforce with the find(String word, int maxLength)
method:
word
: the word to bruteforcemaxLength
: the length limit for the bruteforce
For debug output or pre-generation of combinations take also a look on setOutput(boolean)
, setStore(boolean)
and getPassStore()
.
DO NOT use this project or source code for illegal activities.
None
by thex
Copyright (c) 2018, free to use in personal and commercial software as per the license.