I'm trying to use crunch to generate a password list. However, if I add all necessary characters into one character set, as in:
complex = [abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*()]
... then I cannot create multiple repetition rules, such as:
- no more than 2 repeating UPPERCASE characters in a row
- no more than 2 repeating special characters in a row
- no more than 2 repeating numeric characters in a row
My (current) character set file looks like this:
lower = [abcdefghijklmnopqrstuvwxyz]
upper = [ABCDEFGHIJKLMNOPQRSTUVWXYZ]
numeric = 
special = [!@#$%^&*()]
In doing some research it looked to me that you could specify multiple sets within the same character set file by using the + sign, ie:
crunch 5 5 -f charset.lst lower + upper -o passwordlist.lst
The above command does in fact work but it doesn't register the second set (upper). It only produces a list based on the first set (lower).
My hope is that I'm doing something wrong and that multiple character sets (from the same character set file) IS possible and that I can use -t to specify multiple patterns.
Does any one know if this is possible? Thanks very much for guidance / examples!
Edit 1: to answer Conner's question, my intentions are to generate a very large listing of password combinations with which to feed to hashcat to perform a brute-force attack on an md5 hash. This is an ethical attack. Thanks for pointing that out Conner!