openwall / openwall/john

add new option: --format-flag=+xxxx,+yyyy,-zzzz

Open
#3,596 0 comments 0 reactions 1 assignee View on GitHub

@jfoug is already working on this.

Since Jan 18, 2019.

enhancement
Dominant language
C
Stars
13.6k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

This will allow john to 'adjust' the format. So a 'generic' format may handle uc/lc, handle lengths up to 125 byte password. BUT a pen tester may have inside knowledge that a set of hashes are NOT generic. Say for instance that it is known that the input is lc utf8 compliant data, truncated to 8 bytes. The generic format can be used, but we can tweak it's flags, so that it works better.

So in this case, we may do things like: --max-length=8 (not sure about this, due to utf8), --format-flag=+trunc,-case,+utf8

Then if things like rules would be used (for this format), specifying --rules-stack=:l would force password to lc

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.