Reverse hashcat mask
#1
Hello,
It is possible to use hashcat to generate a dictionary file based on a "mask" where the argument for hashcat looks like ?l?l?l?l?l?l?l?l for the pattern of an 8 char all lowercase passwords.

Other charsets looks like

Code:
?u = ABCDEFGHIJKLMNOPQRSTUVWXYZ
?d = 0123456789
?h = 0123456789abcdef
?H = 0123456789ABCDEF
?s = «space»!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
?a = ?l?u?d?s
?b = 0x00 - 0xff

I'm trying to do the opposite where I feed a dictionary file (like rockyou or something) into the script, and it will return the top 10 patterns.

Can this be done in bash?
Reply
#2
Yes, statsgen from PACK does this, converting a wordlist into masks
Reply
#3
Python 3 refresh of the PACK project: https://github.com/Hydraze/pack
~
Reply