mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #2747] Problem with status indicator #1763
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#1763
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 @jeroen-80 on GitHub (Sep 10, 2017).
Original GitHub issue: https://github.com/openwall/john/issues/2747
Normally I (try to) crack a very limited number of hashes with an enormous keyspace. The status indicator works fine.
I recently had a rare case: cracking an enormous amount of hashes with a very limited keyspace (few lines dictionary). Now things go wrong. John instantly reports:
0g 0:11:54:05 DONE (2017-09-11 00:35) 0.00000g/s 0p/s 15.5c/s 15.5C/s ..zzzzzzz, where the ETA is the current system time.
However, the large hash set containing slow hashes will run for another week or two.
I guess it's got something to do with having all dictionary values queued in a thread (= DONE) without tracking the actual status (something like math containing password 1 out of 10 on hash 1 out of 1.000.000).
Running on Linux x86-64 on CPU from GIT.
@magnumripper commented on GitHub (Sep 11, 2017):
What was the exact command line? How many salts are involved?
@frank-dittrich commented on GitHub (Sep 11, 2017):
I think the behavior is expected if the total number of password candidates is <= MAX_KEY_PER_CRYPT*OMP_NUM_THREADS.
@jeroen-80 commented on GitHub (Sep 11, 2017):
The cracking process will eventually finish, but not near the current datetime it's displaying.
@solardiz commented on GitHub (Sep 11, 2017):
The reported behavior is as expected for the current implementation, lacking per-salt progress tracking. I'll leave it up to magnum to decide on whether to simply close this issue, or maybe open an issue for a potential enhancement on this area - but I doubt anyone would work on that any time soon, if at all. Also we probably need to have a list of documented "bugs", and include this in there. It's very commonly seen with use of GPUs and FPGAs, and is also seen on CPUs when attacking particularly slow hashes and the number of salts is large.
That said, there's some end-user support we could provide on the posted example, if this is brought up on john-users as it should be. Specifically, I'd recommend splitting the large set of hashes across several JtR invocations by cost. Running against such a wide range of cost values at once is suboptimal - not in terms of efficient use of CPUs (it's fine for that), but in terms of progressing through the wordlist.
@magnumripper commented on GitHub (Sep 11, 2017):
Me too, closing.
@solardiz commented on GitHub (Nov 17, 2017):
"Loaded hashes with cost 1 (iteration count) varying from 16 to 16384" - BTW, it's a bad idea to mix very different cost hashes in one JtR invocation like that. This is a reason why we added reporting of those costs. You could proceed through a lot more candidate passwords on the lower cost ones of these hashes, and likely crack more hashes total in the same amount of real time (if you split the allotted time e.g. in two halves by the tunable costs, which Frank's added command-line options allow you to do easily). But this becomes a john-users topic, not a closed GitHub issue topic.