Add support for mask files
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 13.6k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
I would like to reduce the search space given a password policy:
- Must be between 5 and 8 chars in length
- Must have at least 1 lower case character
- Must have at least 1 digit
- Must have at least 1 special character (non-alphanumeric)
With hashcat I would generate a set of masks using policygen in the PACK utilities then use the resulting list. Although JTR supports mask mode it doesn't seem to support a set of masks, just a single mask specified in the command line.
Is there a different approach to do this other than scripting?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing John the Ripper's existing mask mode and command-line handling, then compare them with the mask lists produced by the PACK policygen utility. Done means a password-policy mask set can be consumed without external scripting while supporting the stated length, lowercase, digit, and special-character constraints.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cli, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100