mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #1875] Store progress with decimals instead of just an integer in .rec file #1246
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#1246
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 @frank-dittrich on GitHub (Nov 2, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1875
Originally assigned to: @frank-dittrich on GitHub.
This probably requires bumping the rec file format version (RECOVERY_V in params.h), so it needs to be coordinated with master. And this change alone most likely isn't a good enough reason to bump the .rec file version. So may be we should keep this in mind when the version needs to be bumped anyway.
The struct status_main definition in status.h would also need to be adjusted.
Currently, when running
./john --status, the two decimals of the reported progress will always be00.Would be nice to get the same level of detail you get when pressing any key or with
kill -s USR1 <pid>.Worth discussing on john-dev?
@magnumripper commented on GitHub (Nov 2, 2015):
What benefit would fractions of a percent give you? During a run it's needed for ETA but you won't get that from --status anyway.
@frank-dittrich commented on GitHub (Nov 2, 2015):
To know which of the sessions I restore.
For large wordlists (rockyou) and slow formats or many hashes, processing even one % takes quite some time.
Just comparing run time and guesses might not be "fair", if one of those sessons had ro run with many other tasks in parallel.
@magnumripper commented on GitHub (Nov 2, 2015):
An integer will load fine into
%f. But if reading a float with%dthe decimals will stay as the next field, failing the restore.