[GH-ISSUE #780] Mask mode does not resume correctly with -fork #405

Closed
opened 2026-10-14 03:05:38 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @magnumripper on GitHub (Oct 2, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/780

Originally assigned to: @magnumripper on GitHub.

This happened with old (RPP) mask mode too, but we never noticed.

$ ../run/john pw-dummy -enc:ascii -mask=?l?l?l?l?l?l?l?l?l -fork=2 -prog=1 -max-run=3 -ses:test
Loaded 1 password hash (dummy [N/A])
Node numbers 1-2 of 2 (fork)
Press 'q' or Ctrl-C to abort, almost any other key for status
1 0g 0:00:00:01 0.00% (ETA: 2014-10-04 14:44) 0g/s 15157Kp/s 15157Kc/s 15157KC/s aaacoithk..aaacoituk
2 0g 0:00:00:01 0.00% (ETA: 2014-10-04 14:14) 0g/s 15310Kp/s 15310Kc/s 15310KC/s aaacpagmb..aaacpagzb
1 0g 0:00:00:02 0.00% (ETA: 2014-10-04 14:30) 0g/s 15228Kp/s 15228Kc/s 15228KC/s aaafdhuoq..aaafdhvbq
2 0g 0:00:00:02 0.00% (ETA: 2014-10-04 14:08) 0g/s 15341Kp/s 15341Kc/s 15341KC/s aaafehmmv..aaafehmzv
1 0g 0:00:00:02 0.00% (ETA: 2014-10-03 21:59) 0g/s 15283Kp/s 15283Kc/s 15283KC/s aaahrzyum..aaahrzzhm
1 0g 0:00:00:03 0.00% (ETA: 2014-10-04 14:29) 0g/s 15232Kp/s 15232Kc/s 15232KC/s aaahrzyum..aaahrzzhm
Waiting for 1 child to terminate
2 0g 0:00:00:03 0.00% (ETA: 2014-10-04 14:09) 0g/s 15338Kp/s 15338Kc/s 15338KC/s aaahtkijd..aaahtkiwd
2 0g 0:00:00:03 0.00% (ETA: 2014-10-04 14:09) 0g/s 15338Kp/s 15338Kc/s 15338KC/s aaahtkijd..aaahtkiwd
Session stopped (max run-time reached)

$ ../run/john -res:test
Loaded 1 password hash (dummy [N/A])
Node numbers 1-2 of 2 (fork)
Press 'q' or Ctrl-C to abort, almost any other key for status
1 0g 0:00:00:03 0.00% (ETA: 2014-10-04 14:29) 0g/s 15232Kp/s 15232Kc/s 15232KC/s aaahrzyum
1 0g 0:00:00:03 0.00% (ETA: 2014-10-04 01:54) 0g/s 20421Kp/s 20421Kc/s 20421KC/s aaakidmsy..aaakidnfy
1 0g 0:00:00:04 0.00% (ETA: 2014-10-04 04:11) 0g/s 19237Kp/s 19237Kc/s 19237KC/s aaamyubee..aaamyubre
1 0g 0:00:00:05 0.00% (ETA: 2014-10-04 05:40) 0g/s 18531Kp/s 18531Kc/s 18531KC/s aaappnuca..aaappnupa
1 0g 0:00:00:05 0.00% (ETA: 2014-10-04 05:40) 0g/s 18531Kp/s 18531Kc/s 18531KC/s aaappnuca..aaappnupa
Waiting for 1 child to terminate
Session stopped (max run-time reached)
Originally created by @magnumripper on GitHub (Oct 2, 2014). Original GitHub issue: https://github.com/openwall/john/issues/780 Originally assigned to: @magnumripper on GitHub. ~~This happened with old (RPP) mask mode too, but we never noticed.~~ ``` $ ../run/john pw-dummy -enc:ascii -mask=?l?l?l?l?l?l?l?l?l -fork=2 -prog=1 -max-run=3 -ses:test Loaded 1 password hash (dummy [N/A]) Node numbers 1-2 of 2 (fork) Press 'q' or Ctrl-C to abort, almost any other key for status 1 0g 0:00:00:01 0.00% (ETA: 2014-10-04 14:44) 0g/s 15157Kp/s 15157Kc/s 15157KC/s aaacoithk..aaacoituk 2 0g 0:00:00:01 0.00% (ETA: 2014-10-04 14:14) 0g/s 15310Kp/s 15310Kc/s 15310KC/s aaacpagmb..aaacpagzb 1 0g 0:00:00:02 0.00% (ETA: 2014-10-04 14:30) 0g/s 15228Kp/s 15228Kc/s 15228KC/s aaafdhuoq..aaafdhvbq 2 0g 0:00:00:02 0.00% (ETA: 2014-10-04 14:08) 0g/s 15341Kp/s 15341Kc/s 15341KC/s aaafehmmv..aaafehmzv 1 0g 0:00:00:02 0.00% (ETA: 2014-10-03 21:59) 0g/s 15283Kp/s 15283Kc/s 15283KC/s aaahrzyum..aaahrzzhm 1 0g 0:00:00:03 0.00% (ETA: 2014-10-04 14:29) 0g/s 15232Kp/s 15232Kc/s 15232KC/s aaahrzyum..aaahrzzhm Waiting for 1 child to terminate 2 0g 0:00:00:03 0.00% (ETA: 2014-10-04 14:09) 0g/s 15338Kp/s 15338Kc/s 15338KC/s aaahtkijd..aaahtkiwd 2 0g 0:00:00:03 0.00% (ETA: 2014-10-04 14:09) 0g/s 15338Kp/s 15338Kc/s 15338KC/s aaahtkijd..aaahtkiwd Session stopped (max run-time reached) $ ../run/john -res:test Loaded 1 password hash (dummy [N/A]) Node numbers 1-2 of 2 (fork) Press 'q' or Ctrl-C to abort, almost any other key for status 1 0g 0:00:00:03 0.00% (ETA: 2014-10-04 14:29) 0g/s 15232Kp/s 15232Kc/s 15232KC/s aaahrzyum 1 0g 0:00:00:03 0.00% (ETA: 2014-10-04 01:54) 0g/s 20421Kp/s 20421Kc/s 20421KC/s aaakidmsy..aaakidnfy 1 0g 0:00:00:04 0.00% (ETA: 2014-10-04 04:11) 0g/s 19237Kp/s 19237Kc/s 19237KC/s aaamyubee..aaamyubre 1 0g 0:00:00:05 0.00% (ETA: 2014-10-04 05:40) 0g/s 18531Kp/s 18531Kc/s 18531KC/s aaappnuca..aaappnupa 1 0g 0:00:00:05 0.00% (ETA: 2014-10-04 05:40) 0g/s 18531Kp/s 18531Kc/s 18531KC/s aaappnuca..aaappnupa Waiting for 1 child to terminate Session stopped (max run-time reached) ```
bsakaguchi 2026-10-14 03:05:38 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@magnumripper commented on GitHub (Oct 2, 2014):

I was wrong. This only happens with new mask mode.

<!-- gh-comment-id:57620353 --> @magnumripper commented on GitHub (Oct 2, 2014): I was wrong. This only happens with new mask mode.
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#405
No description provided.