Configurable mask based on character class - 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: Configurable mask based on character class (/thread-10307.html) |
Configurable mask based on character class - rocquefort - 08-31-2021 Is there a way for determining the class of character which should be incremented in a configurable way? For example, let's suppose the following mask:
Given the aforementioned mask, I'd like to increment:
Uppercase first letter (?u) will never increment (there is only one, always existing in the beginning), as well as the symbol, which always exists at the end of each attempt. Visually, this attack should look like this:
Thank you. RE: Configurable mask based on character class - Xanadrel - 08-31-2021 Default -i behaviour won't do that, you can however do it by generating all possible masks to a file and use that mask file with hashcat: https://hashcat.net/wiki/doku.php?id=mask_attack#hashcat_mask_files. PS: Nice nick RE: Configurable mask based on character class - epixoip - 08-31-2021 This is silly, just use static characters instead of character classes. RE: Configurable mask based on character class - rocquefort - 08-31-2021 (08-31-2021, 02:18 AM)Xanadrel Wrote: Default -i behaviour won't do that, you can however do it by generating all possible masks to a file and use that mask file with hashcat: https://hashcat.net/wiki/doku.php?id=mask_attack#hashcat_mask_files. This is cool! Thank you. RE: Configurable mask based on character class - rocquefort - 08-31-2021 (08-31-2021, 02:29 AM)epixoip Wrote: This is silly, just use static characters instead of character classes. You're right. Once I got the hang of hcmask files I realized using character classes in this approach wouldn't be necessary. |