hashcat Forum
mask question - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Misc (https://hashcat.net/forum/forum-15.html)
+--- Forum: General Talk (https://hashcat.net/forum/forum-33.html)
+--- Thread: mask question (/thread-2637.html)



mask question - tonybrooks - 09-23-2013

Hi,

If I understand it correctly, mask "?d?d?d" will generate all 3 digit numbers from 000 - 999; But what if I just want to generate numbers from 200 - 399, i.e., the 1st digit is either 2 or 3?

I am thinking that the mask should be [23]?d?d, am I correct? If not, what's the right mask?

Thanks for your time!


RE: mask question - philsmd - 09-23-2013

Hi,

please read http://hashcat.net/wiki/doku.php?id=mask_attack and --help.

What you should investigate is what custom charsets do (--custom-charset1, --custom-charset2, --custom-charset3, --custom-charset4 or short form -1, -2, -3, -4).

This should work:
-1 23 ?1?d?d


RE: mask question - tonybrooks - 09-24-2013

thanks for your helpful advice. your solution is exactly what I wanted.