mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #2106] Stacking external hybrid modes #1410
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#1410
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 2, 2016).
Original GitHub issue: https://github.com/openwall/john/issues/2106
From #2072
I think we should come up with a way to stack these.
So we might have a -extern:leet and also an -extern:casemangle. It would be nice to allow:
./john -w=input -extern:leet -extern:casemangle
so that each would would be put through the leet script, and then every word output from the leet script would be put through the casemangle script. This would allow leet to be written 'cleanly', without having to muddy it up doing case mangling also if we wanted to do both leet and casing.
In here, order would be very important. This may also be prone to building duplicate words, so that would need to be looked at also.
Now we 'can' stack them, like this:
./john -w=input -extern:leet -stdout > input2
./john -w=input2 -extern:casemangle
Doing stacking like that may be preferred over trying to stack within 1 run of john. I will wait to hear from others on this. I have NOT started on doing this yet, it may not be trivial so the ROI may not be there.
@frank-dittrich commented on GitHub (Apr 2, 2016):
why not
--extern=leet;casemangleinstead?@jfoug commented on GitHub (Apr 2, 2016):
That does handle the command line issue. But there are many more still to tackle.
@jfoug commented on GitHub (Apr 2, 2016):
getting leet and case will be a good test for this. It may be that there are so many dupes, that it ends up being better to simply run john twice, dumping to files and running unique to strip it. Time will tell ;)
@jfoug commented on GitHub (Apr 2, 2016):
Ok, got a case extern done. Using 2 runs of john to stack, I am pretty surprised.
stacking case;leet or leet;case produces the same output (as long as the word going to case;leet was lower cased). ALSO, it appears there are no duplicates!! I am surprised about both of those findings.
I have not done very in depth testing yet. Just -pipe in 1 word for now, Did pass then pass3 then password All ended up with same words in the end with no dupes (well order was different, but the exact same words spit out).
Now, I am not sure all chaining will be that 'nice'. But leet and case do appear to play very well with each other.