mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #854] (Pure) mask mode: progress issue with -min-len #460
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#460
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 17, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/854
The progress reported from pure mask mode is currently
(100 * total candidates produced) / mask_tot_cand
but mask_tot_cand is only correct for the length we're currently at. Basically we need to calculate a mask_tot_cand that is the sum of all lengths' number of candidates.
An other way to fix this would be to keep it as-is (percent shown is for current length) but fix it so that figure is actually proper. For doing that, we need to keep track of 'total candidates produced' at start of each length so we get
(100 * candidates produced for current length) / mask_tot_cand
No panic, let's ponder this for a while
@frank-dittrich commented on GitHub (Nov 17, 2014):
On 11/17/2014 06:20 PM, magnum wrote:
If you do that, you might want to add the current length in parentheses
like it is done for the steps "single mode" (1), "wordlist mode" (2),
"incremental mode" (3) when running in batch mode.
@magnumripper commented on GitHub (Nov 17, 2014):
Good point, I will try this.
@magnumripper commented on GitHub (Nov 17, 2014):
Batch mode actually prints it as 1/3, 2/3 and 3/3. I think printing min/max length as 2/3 will be confusing. Maybe just print it as (2) and not mention max length?
@magnumripper commented on GitHub (Nov 18, 2014):
Current output