If the dot (.) can appear anywhere in the password while the rest is numbers, a custom mask can be used to cover all possible positions. Assuming a password length of 6 (i.e. 5 digits and 1 dot), you can generate the following mask combination:
? d?d? d?d? d
? d.?d? d?d? d
? d?d.? d?d? d
? d?d? d.?d? d
? d?d? d?d.? d
? d?d? d?d? d.
In Hashcat, you can save these masks in a file (e.g.mask. txt) and then use that file for mask attacks:
hashcat -m <hash-type> -a 3 hash.txt -m 3 mask.txt
- a3: Mask attack mode.
Mask.txt: A file containing each mask combination.
-i: Optional parameter, used for incremental mode, can be added if the password length is not fixed.
<hash type>: Your hash type number.
This method ensures that all combinations of numbers containing a dot are covered.