12-22-2020, 04:22 PM
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!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~]*$
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!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~]*$