How to apply password known constraints while using dictionnary and rules ?
#3
Hello undeath,

Thank you very much for the quick reply.
So finally here's what I did, if it may help others :
hashcat.exe rockyou.txt -r rules/OneRuleToRuleThemAll.rule --stdout | .\hashcat-utils-1.9\bin\len.exe 8 15 | .\hashcat-utils-1.9\bin\req-include.exe 15 | hashcat.exe -m500 pass.txt -O -w 3
I don't know if using a regex with grep would be faster than using the hashcat-utils tools, however the regex I found to filter the charset, and not to enforce the length, wasn't very friendly :
^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])[a-zA-Z0-9!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~]*$
Reply


Messages In This Thread
RE: How to apply password known constraints while using dictionnary and rules ? - by fzeijtrf - 12-22-2020, 04:22 PM