So to use this in a mask attack is simple:
Code:
hashcat -a 3 -m 22000 -1 456 -2 ABCDEF0123456789 hashlist.file 2511?1?20?2?d?d?d?d
Code:
hashcat -a 3 -m 22000 hashlist.file 277?d?d?d?d?d?d