mirror of
https://github.com/openwall/john.git
synced 2026-12-03 20:43:49 +07:00
[GH-ISSUE #2324] Add ?h and ?H mask placeholders #1556
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#1556
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 @magnumripper on GitHub (Nov 10, 2016).
Original GitHub issue: https://github.com/openwall/john/issues/2324
?h is [0-9a-f]
?H is [0-9A-F]
This is for compatibility with (bleeding) Hashcat
@jfoug commented on GitHub (Nov 10, 2016):
We don't have those? wow. an oversite. I know most do ?x type stuff (in rules not mask). At the same time, I think we need to add these as rules char classes. We have ?x which is [0-9][a-f][A-F] So there is no way we could simply add ?X
NOTE, I have not updated the title here, but once we make sure this observation is correct (I am not sure it is), then I think we should update this enhancement to be both mask and rules (and add 2 to-do check-boxes to the original post).
@nuartvision commented on GitHub (Nov 10, 2016):
Oh, compatibility is good.
Hope it will not bring us to separate entities for "suitable for email address", "suitable for domain name", "numpad and surrounding" character sets in core config instead of user-defined ranges/sets
Are you suggesting to add them globally of just update "!! hashcat logic ON" behaviour?
@jfoug commented on GitHub (Nov 10, 2016):
Looking at rules.c, I think we have some VERY large bugs in the ?x (encoding)
There are other cases like this. This is NOT hex!
@jfoug commented on GitHub (Nov 10, 2016):
I would think this would be global, and have nothing to do with 'hc' compatibility stuff in the reading of the rules. Jumbo and core are NOT compatible, and never will be, until Solar implements things like the .include....... logic.
I guess it 'could' also be compatible if solar (and jumbo) implement something like C's #ifdef type logic in processing the file. But I really think it would be MUCH better if he implemented the include file/section logic. Yes, just having that logic does NOT make the .conf files compatible between core/jumbo, BUT it provides the needed impetus to take the time to redo the parts of the .conf system in jumbo to make it work in core.
@magnumripper commented on GitHub (Nov 14, 2016):
First, The ?x character class in rules have absolutely NOTHING to do with masks nor with this issue. They just look alike. Second, that is not a bug. Look at http://www.openwall.com/john/doc/RULES.shtml.