Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
add max_length to wordlist generation #11261
This adds the ability to set the max length of a word going into a word list when written to file.
Some password hash formats have a max length (DES = 8) and therefore when generating a wordlist with anything more than that, those items will either always fail or be ignored by JTR (not sure JTR's behavior).
This currently only changes how the libraries work, i'm going through the jtr modules now and cleaning them up, writing docs, fixing logic, and implementing this behavior in other PRs.
Default behavior is
With the default behavior on my system:
After setting it to 8:
Works as described.