It is always good to know the algorithm type etc and maybe your setup too, such that we can give more suitable advices...
- 1. it is a fast hash that you want to crack (e.g md5)
- 2. you use oclHashcat (not cpu hashcat)
- 3. you are familiar with masks and hcmask files and we want to write down all mask within a .hcmask file ( see
) for this task (I know many assumptions but you didn't give much details)....
So a user may come up w/ a hcmask file looking like that, with the policies that you have given (my.hcmask):
Code:
# 1 upper
ABCDEF,?1?d?d?d?d?d?d?d?d?d
ABCDEF,?d?1?d?d?d?d?d?d?d?d
ABCDEF,?d?d?1?d?d?d?d?d?d?d
ABCDEF,?d?d?d?1?d?d?d?d?d?d
ABCDEF,?d?d?d?d?1?d?d?d?d?d
ABCDEF,?d?d?d?d?d?1?d?d?d?d
ABCDEF,?d?d?d?d?d?d?1?d?d?d
ABCDEF,?d?d?d?d?d?d?d?1?d?d
ABCDEF,?d?d?d?d?d?d?d?d?1?d
ABCDEF,?d?d?d?d?d?d?d?d?d?1
# 2 upper next
ABCDEF,?1?1?d?d?d?d?d?d?d?d
ABCDEF,?d?1?1?d?d?d?d?d?d?d
ABCDEF,?d?d?1?1?d?d?d?d?d?d
ABCDEF,?d?d?d?1?1?d?d?d?d?d
ABCDEF,?d?d?d?d?1?1?d?d?d?d
ABCDEF,?d?d?d?d?d?1?1?d?d?d
ABCDEF,?d?d?d?d?d?d?1?1?d?d
ABCDEF,?d?d?d?d?d?d?d?1?1?d
ABCDEF,?d?d?d?d?d?d?d?d?1?1
# 2 upper random (not next)
# 1st upper
ABCDEF,?1?d?1?d?d?d?d?d?d?d
ABCDEF,?1?d?d?1?d?d?d?d?d?d
ABCDEF,?1?d?d?d?1?d?d?d?d?d
ABCDEF,?1?d?d?d?d?1?d?d?d?d
ABCDEF,?1?d?d?d?d?d?1?d?d?d
ABCDEF,?1?d?d?d?d?d?d?1?d?d
ABCDEF,?1?d?d?d?d?d?d?d?1?d
ABCDEF,?1?d?d?d?d?d?d?d?d?1
# 2nd upper
ABCDEF,?d?1?d?1?d?d?d?d?d?d
ABCDEF,?d?1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,?d?d?d?d?d?1?1?d?d?1
# 6th,8th upper
ABCDEF,?d?d?d?d?d?1?d?1?1?d
ABCDEF,?d?d?d?d?d?1?d?1?d?1
# 6th,9th upper
ABCDEF,?d?d?d?d?d?1?d?d?1?1
# 7th,8th upper
ABCDEF,?d?d?d?d?d?d?1?1?d?1
# 7th,9th upper
ABCDEF,?d?d?d?d?d?d?1?d?1?1
You can then use this file with -a 3 my.hcmask instead of a real mask (like -a 3 ?u?d?d?d?d?d?d?d?d?d)
Pls note that I did build this file very quickly and can't promise that it catches all cases, but it should if it contains no errors