Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #1708: reject invalid masks with only a single ? at the end #1718

Merged
merged 1 commit into from Oct 16, 2018

Conversation

philsmd
Copy link
Member

@philsmd philsmd commented Oct 16, 2018

This fixes issue #1708 where a masks like ?a?a?a?a? was accepted as it was ?a?a?a?a?? .
Since the explanation on the wiki and faq make it very clear that we need to use ?? to represent a single quotation mark character within a mask, I would recommend that we make this more restrictive and reject every mask that doesn't comply with it.

BTW I looped/searched over all masks within the hashcat's "masks" directory and there was none that had a syntax error like this. we should be fine there and as @s3inlc mentioned we shouldn't allow masks that do not respect the "rules".
Thx

@jsteube jsteube merged commit fd0147b into hashcat:master Oct 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants