mirror of
https://github.com/openwall/john.git
synced 2026-12-03 20:43:49 +07:00
[GH-ISSUE #2034] Mask mode. Problems with empty groups. #1370
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#1370
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 (Feb 10, 2016).
Original GitHub issue: https://github.com/openwall/john/issues/2034
Debug shows:
@magnumripper commented on GitHub (Feb 10, 2016):
I think we should bail with error both for empty groups (as in
[]) and undefined placeholders (as in?9in a default john.conf)@jfoug commented on GitHub (Feb 10, 2016):
We could do that. Actually, could this both be done in the replacement placeholder fix function?
@jfoug commented on GitHub (Feb 10, 2016):
What is the proper way to abort?
?
What about pexit() ?
@magnumripper commented on GitHub (Feb 10, 2016):
Always
error();. pexit() is only for printing strerror(errno).@magnumripper commented on GitHub (Feb 10, 2016):
@jfoug commented on GitHub (Feb 10, 2016):
Corrected, and yes, it has better output. So error() properly closes log, and does other 'cleanup' ?
@magnumripper commented on GitHub (Feb 10, 2016):
Yep, we must not use
exit()because that breaks some debugging (and potentially some MPI stuff may be placed inerror()but currently there isn't any). Usingpexit()is technically OK because it will end up usingerror()in turn, but we should not use it for things that aren't really libc errno stuff.