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

option to show all words matching a mask or list of masks #6

Open
roycewilliams opened this issue May 2, 2020 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@roycewilliams
Copy link

An option could check all words from a given list that match a given list of masks. This helps with analysis of patterns in new founds.

The option could accept either a single mask, or a filename containing masks.

@roycewilliams roycewilliams added the enhancement New feature or request label May 2, 2020
@hops
Copy link
Owner

hops commented May 9, 2020

A very basic version of this is implemented with commit 654df7d.
We don't support ?h or ?H nor custom mask (yet). Also masks are not really validated as of now. E.g. if you use ?a?a?c it would result in only using ?a?a as filter.
Only one mask (first argument on the command line) is supported. The ability to read multiple masks from a file will be added later.
Example usage:

$ pack2 filtermask ?u?l?l?l?d?d wordlist.txt

As always if no input file is specified it will read from stdin. If no output file (-o, or --output) is specified it writes to stdout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants