mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #2121] Spawn external from within a rule #1418
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#1418
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jfoug on GitHub (Apr 17, 2016).
Original GitHub issue: https://github.com/openwall/john/issues/2121
This idea came from #2095
As for external being called as a rule, I really only see calling a filter function, to modify the word or reject it.
As for the rule to use, these are already spoken for (where there are letters available of either case, there is a gap)
A cCdDeE f iI kKlL M oOpPqQ rRsStTuUvV xXyYzZ { } [ ] () <> _ ' : / $ ^ # % @ ! = \ * + - . , 12 4 6So we can see we are getting pretty 'tight' on letters. For calling an external function, could we view this as a 'spawn', and wrap it in sh syntax?
function?The ` is not used, and seems a 'safe' bet. That way, we could even comment it could be a extern function or even a system spawn (Yes, I know solar will not agree, but we can wish, lol).
So a rule such as:
\]\]$[a-f0-9]$[ -~]ccorp_complexity``would chop last 2 letters, append a hex, then some other ascii char, then case the word, and then finally call the corp_complexity 'script/external' which would accept or cause the final word to be dropped as not meeting some corp standard.
@jfoug commented on GitHub (Apr 17, 2016):
Core tag added, since Solar was the one who brought up this issue. I figure he must have been kicking it around a bit.