mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #729] wpapcap2john: Do not output "unverified" entries when there are "verified" ones. #371
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#371
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 @magnumripper on GitHub (Sep 1, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/729
Example
The file actually only contains one set of four EAPOL packets. The first, "unverified" entry is output when the second packet is seen, and the second, "verified" one is output when the third packet is seen. What we should do, but that requires two passes, is output the "unverified" entry only if we never see the third packet.
This is not much of a concern since JtR will remove dupes anyway. But it would be nice to get rid of them.
@jfoug commented on GitHub (Nov 26, 2014):
Fixed. I simply save off buffers for the unverified, then when I get a verified one, I remove the prior unverified (if found). Then when done with the file, any unverified hashes left, get output.
The order may be different, but result is that only verified hash pair is listed (if there are both), and no hashes are left unprinted.