hashcat Forum
Character Set question - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: Character Set question (/thread-13379.html)



Character Set question - Technodude_UK - 09-15-2025

Hi.  I'm pretty new to Hashcat so apologies if this is a stupid question.
[*]I've got a long, complex password I want to crack but I know it doesn't include all of the characters from the built-in charsets.
[*]For example...  I need all of ?l and ?u but only the number 1 and only a % symbol.  I've been using ?a but figured I can reduce the combinations needed by a few billion if I can drop unnecessary characters...


[*]
  • ?l = abcdefghijklmnopqrstuvwxyz
  • ?u = ABCDEFGHIJKLMNOPQRSTUVWXYZ
  • ?d = 0123456789
  • ?s = «space»!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~

[*]Is there an easy way to create a reduced charset including only those I need please?



RE: Character Set question - buka - 09-15-2025

Yes. In the command line,

-1 ?l?u1% ?1?1?1?1?1?1?1?1?1

Or, in the mask file,

?l?u1%,?1?1?1?1?1?1?1?1?1