Mask attack generator with a custom configurable charset and ability to limit
consecutive and repeating characters to decrease attack keyspace. Mask Processor is a part of the [[hashcat-utils]] suite of tools and can be used in conjunction with [[HashCat]].
https://github.com/hashcat/maskprocessor
Limit 4 consecutive identical characters in the password string “-q” option:
```
mp64.bin -q 4 ?d?d?d?d?d?d?d?d | hashcat -a 0 -m hash_type hash.txt Limit 4
```
identical characters in the password string “-r” option:
```
mp64.bin -r 4 ?d?d?d?d?d?d?d?d | hashcat -a 0 -m hash_type hash.txt Limit 2
```
consecutive and 2 identical characters in the password string:
```
mp64.bin -r 2 -q 2 ?d?d?d?d?d?d?d?d | hashcat -a 0 -m hash_type hash.txt
```
Custom charset limiting 2 consecutive and 2 identical characters in the password
string:
```
mp64.bin -r 2 -q 2 -1 aeiuo -2 TGBYHN ?l?2?l?2?d?d?d?d | hashcat -a 0 -m hash_type hash.txt
```
[[Home]]