Skip to content

Commit

Permalink
Fix quick finish crack count bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmcatee committed Sep 26, 2019
1 parent bde42f0 commit 9d8701a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/tools/hashcat5/tasker.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@ func (t *Tasker) Status() common.Job {
t.job.OutputData = dedupHashes(hashes)
}

// Check if our hashes are in line with our CrackedHashes numbers as sometimes the status will miss this
if int64(len(t.job.OutputData)) > t.job.CrackedHashes {
t.job.CrackedHashes = int64(len(t.job.OutputData))
}

t.stderr.Reset()
t.stdout.Reset()

Expand Down

0 comments on commit 9d8701a

Please sign in to comment.