Support for $HEX[] wordlists (like in hashcat)
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 13.6k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
Hashcat support $HEX[] wordlists to encode control chars. Will be nice have this option available into JTR, in that way we can use hashcat wordlists into JTR.
So, a password of "foobar1[CRLF]" becomes: $HEX[666f6f626172310d0a]
Is this format already supported in JTR? Do you plan to add it? Exist any way to handle control chars in wordlists?
Not sure if i should post this here or at john-users list, since it contains ideas and also questions 😕 .
Thanks in advance for your help.
- add $HEX[] handling to wordlist mode (wordlist.c)
- add $HEX[] storing/handling to .pot files and screen output (logger.c, loader.c)
- enhance base64_convert process to convert to and from $HEX[] format.
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 reading the wordlist.c, logger.c, and loader.c areas named in the issue, then inspect the base64_convert process. The work is complete when $HEX[] input is handled in wordlist mode, represented appropriately in .pot files and screen output, and converted to and from the stated format.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cli, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100