mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #996] Add minimum length to format struct #596
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#596
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 (Jan 4, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/996
Originally assigned to: @magnumripper on GitHub.
Now that J1 is released we could do some struct changes that was deferred. One is adding plaintext_min_length to the format struct. Then we can get rid of the kludges in john.c that currently exist for WPAPSK and WoW.
BFEgg may need this set to 1, see #989
@frank-dittrich commented on GitHub (Jan 4, 2015):
Do we put the output of the min. length next to the max length output in llist=format-(all-)details, or do we put it close to the end, to reduce the risk of breaking some scripts users might have created?
@jfoug commented on GitHub (Jan 4, 2015):
Could we 'borrow' some bits from Plaintext length, simply converting it into a union ?
Or do it with
<<and `>>``@jfoug commented on GitHub (Jan 4, 2015):
Once we add this, undo the hack for #989 (
736c18d) along with hack logic for WoW and WPAPSK@magnumripper commented on GitHub (Jan 5, 2015):
That would mean a whole lot more changes in core code... what's the upside?
I can't spot the difference?
@magnumripper commented on GitHub (Jan 6, 2015):
This is done. Regression testing now.
@magnumripper commented on GitHub (Jan 6, 2015):
Fixed in
a916df7. Before you ask, yes I considered adding#if FMT_MAIN_VERSIONbut opted not to. We do not have branches right now that make it worthwhile.@frank-dittrich commented on GitHub (Jan 6, 2015):
Should we cleanup all the existing
#if FMT_MAIN_VERSIONtests, may be after a j2 release?Or mabe just the very old comparisons?
@magnumripper commented on GitHub (Jan 7, 2015):
I'm not sure. Parts of me did want to add ifdef's for this patch too.
Considering Solar's comments before J1 I doubt there will be a J2 any time soon. I will presume it might take a year or two. That's why I did not post-pone these fixes anymore.