openwall / openwall/john

mask stretching stage is not reported by --status

Open
#3,727 1 comment 0 reactions 1 assignee View on GitHub

@magnumripper is already working on this.

Since Aug 13, 2021.

Dominant language
C
Stars
13.6k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

I run a long session with mask stretching. In parallel, I check status using --status, but it does not report stretching length. It may report ETA for current stage. ETA (and rounding of percents) relates to #3723.

$ echo aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa > pw-fake-md5
$ john pw-fake-md5 --format=raw-md5 --mask='?d' --min-length=1 --max-length=14
[...]
0g 0:00:00:53 10,85% (10) (ETA: 16:57:03) 0g/s 22682Kp/s 22682Kc/s 22682KC/s 6441459711..7571459711
other-term$ (inotifywait JohnTheRipper/run/john.rec && john --status) & killall -HUP john && killall -USR1 john; sleep 1
[...]
0g 0:00:00:54 10,00% (ETA: 16:57:54) 0g/s 22329Kp/s 22329Kc/s 22329KC/s

So (10) is shown only in terminal with running john.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.