[GH-ISSUE #1015] Should we really always report DONE? #613

Closed
opened 2026-10-14 03:15:26 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @magnumripper on GitHub (Jan 11, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1015

Before 855c636 we had this (in PRINCE mode) when everything was cracked after processing 4.47% of the keyspace;

Loaded 5000000 password hashes with no different salts (NT [MD4 128/128 X2 SSE2-16])
Press 'q' or Ctrl-C to abort, almost any other key for status
5000000g 0:00:00:11 4.47% (ETA: 14:28:34) 440528g/s 440528p/s 440528c/s 1136GC/s 0511581..1811581
Session completed

After 855c636 we do like all other modes:

Loaded 5000000 password hashes with no different salts (NT [MD4 128/128 X2 SSE2-16])
Press 'q' or Ctrl-C to abort, almost any other key for status
5000000g 0:00:00:11 DONE (2015-01-11 14:26) 434027g/s 434027p/s 434027c/s 1136GC/s 0511581..1811581
Session completed

But is this really a good idea? We lose the information about how much of the keyspace was actually searched.

Originally created by @magnumripper on GitHub (Jan 11, 2015). Original GitHub issue: https://github.com/openwall/john/issues/1015 Before 855c636 we had this (in PRINCE mode) when everything was cracked after processing 4.47% of the keyspace; ``` Loaded 5000000 password hashes with no different salts (NT [MD4 128/128 X2 SSE2-16]) Press 'q' or Ctrl-C to abort, almost any other key for status 5000000g 0:00:00:11 4.47% (ETA: 14:28:34) 440528g/s 440528p/s 440528c/s 1136GC/s 0511581..1811581 Session completed ``` After 855c636 we do like all other modes: ``` Loaded 5000000 password hashes with no different salts (NT [MD4 128/128 X2 SSE2-16]) Press 'q' or Ctrl-C to abort, almost any other key for status 5000000g 0:00:00:11 DONE (2015-01-11 14:26) 434027g/s 434027p/s 434027c/s 1136GC/s 0511581..1811581 Session completed ``` But is this really a good idea? We lose the information about how much of the keyspace was actually searched.
bsakaguchi 2026-10-14 03:15:26 +07:00
Author
Owner

@magnumripper commented on GitHub (Jan 11, 2015):

Core John reports it like this. That is actually the same behavior

5000000g 0:00:00:49 100% 100725g/s 3042Kp/s 3042Kc/s 3360GC/s 73673837..121224145566
Use the "--show" option to display all of the cracked passwords reliably
Session completed

In Jumbo we probably still want to mute the ETA so it would look something like this:

Loaded 5000000 password hashes with no different salts (NT [MD4 128/128 X2 SSE2-16])
Press 'q' or Ctrl-C to abort, almost any other key for status
5000000g 0:00:00:11 4.47% (2015-01-11 14:26) 440528g/s 440528p/s 440528c/s 1136GC/s 0511581..1811581
Session completed

Just like when printing DONE, the time in parens is "now" and not the original ETA.

<!-- gh-comment-id:69494749 --> @magnumripper commented on GitHub (Jan 11, 2015): Core John reports it like this. That is actually the same behavior ``` 5000000g 0:00:00:49 100% 100725g/s 3042Kp/s 3042Kc/s 3360GC/s 73673837..121224145566 Use the "--show" option to display all of the cracked passwords reliably Session completed ``` In Jumbo we probably still want to mute the ETA so it would look something like this: ``` Loaded 5000000 password hashes with no different salts (NT [MD4 128/128 X2 SSE2-16]) Press 'q' or Ctrl-C to abort, almost any other key for status 5000000g 0:00:00:11 4.47% (2015-01-11 14:26) 440528g/s 440528p/s 440528c/s 1136GC/s 0511581..1811581 Session completed ``` Just like when printing DONE, the time in parens is "now" and not the original ETA.
Author
Owner

@jfoug commented on GitHub (Jan 11, 2015):

Would it make sense to output a statistical update in the complete line? Normally we have an ETA format. Would it not make sense to simply leave that line alone (the last update listed), and simply output a complete new line. There is no ETA (we are done). BUT there may be things in there we want to list, such as "4.7% of keyspace checked". That IS good information, to know. It is just as valuable as being told that 100% of the keyspace was completed, anf 38.4% of the passwords were cracked. Same type info, listing what was used/done during the test.

<!-- gh-comment-id:69499730 --> @jfoug commented on GitHub (Jan 11, 2015): Would it make sense to output a statistical update in the complete line? Normally we have an ETA format. Would it not make sense to simply leave that line alone (the last update listed), and simply output a complete new line. There is no ETA (we are done). BUT there may be things in there we want to list, such as "4.7% of keyspace checked". That IS good information, to know. It is just as valuable as being told that 100% of the keyspace was completed, anf 38.4% of the passwords were cracked. Same type info, listing what was used/done during the test.
Author
Owner

@magnumripper commented on GitHub (Apr 10, 2019):

This issue is too old to bother with. I'm not sure it's an issue anymore and if it is, someone can open a new one.

<!-- gh-comment-id:481909665 --> @magnumripper commented on GitHub (Apr 10, 2019): This issue is too old to bother with. I'm not sure it's an issue anymore and if it is, someone can open a new one.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#613
No description provided.