hashcat Forum

Full Version: Masking question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm doing more research on masking attacks. What I haven't found, yet, is if there's a way to specify through a custom mask if you know what the characters are in specific positions of a password. For example, let's say I know the password is 9 characters long and I know that the first character is an "a" and the last is a "1" at this point. Is there a way to specify this in a mask? Obviously, this could drastically improve the speed of a brute force attempt. The other 7 characters in-between in this example could be defined as "?a" since it could be any character (assuming English).
https://hashcat.net/wiki/doku.php?id=mask_attack


Quote:A placeholder can be either a custom charset variable, a built-in charset variable or a static letter

so yeah, just a?a?a?a?a?a?a?a1 wil do a brute force on 7 chars with always an a in front and 1 in back
(11-01-2019, 04:03 PM)DanielG Wrote: [ -> ]https://hashcat.net/wiki/doku.php?id=mask_attack


Quote:A placeholder can be either a custom charset variable, a built-in charset variable or a static letter

so yeah, just a?a?a?a?a?a?a?a1 wil do a brute force on 7 chars with always an a in front and 1 in back

Perfect. I figured it was probably simple. I am not saying I have a password cracking rig, but this has reduced my brute force time by 34214 years, lol.