openwall / openwall/john

idea: filter with regular expression

Open
#3,383 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

It may be useful to be able to use a regular expression to accept or reject candidates in place of external filter. Such feature could replace List.External:Filter_Alnumspace, Filter_Alnum, Filter_LowerNum, and so on. But it will not be able to replace List.External:Filter_LM_ASCII that does uppercase.

Realistic use-case may be the following: we run incremental mode but pick only candidates with a substring (or of some complicated form). It may be impossible to make good incremental picking by substring before creation of charset file, so we might generate charset from full set of cracks and then pick candidates. Pair option to reject candidates by substring may be used to try remaining candidates on other machine.

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.

Research direction

Start by reviewing the existing List.External:Filter_Alnumspace, Filter_Alnum, Filter_LowerNum, and Filter_LM_ASCII options, then trace how incremental mode generates candidates and uses charset files. The issue is done when regular-expression acceptance and rejection are defined and usable for the described incremental-candidate workflow, with behavior and option details established.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.