hashcat Forum
Partial mask increment - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat-utils, maskprocessor, statsprocessor, md5stress, wikistrip (https://hashcat.net/forum/forum-28.html)
+--- Thread: Partial mask increment (/thread-9001.html)



Partial mask increment - JoHnDoE - 02-28-2020

I  need a partial increment for a mask, but I don't know how to do that.

-1 ?u -2 ?l?l?l?l -3 ?d?d 

I only need to increment mask -2 (4 to 8 characters -  `Aaaaa00 ~ Aaaaaaaaa00` )

Can this be done using a mask or do I need rules ?

Any help much appreciated!


RE: Partial mask increment - philsmd - 02-28-2020

with hashcat mask files (.hcmask): https://hashcat.net/wiki/doku.php?id=mask_attack#hashcat_mask_files and https://hashcat.net/wiki/doku.php?id=frequently_asked_questions#what_is_a_hashcat_mask_file

Code:
?u,?l,?d,?1?2?2?2?2?3?3
?u,?l,?d,?1?2?2?2?2?2?3?3
?u,?l,?d,?1?2?2?2?2?2?2?3?3
?u,?l,?d,?1?2?2?2?2?2?2?2?3?3
?u,?l,?d,?1?2?2?2?2?2?2?2?2?3?3

Code:
hashcat -m 0 -a 3 -w 3 hash.txt masks.hcmask

note the masks.hcmask file could also be re-written as:
Code:
?u?l?l?l?l?d?d
?u?l?l?l?l?l?d?d
?u?l?l?l?l?l?l?d?d
?u?l?l?l?l?l?l?l?d?d
?u?l?l?l?l?l?l?l?l?d?d
i.e. you do not need to use custom charsets (-1, -2, -3, -4 which themself are defining ?1, ?2, ?3, ?4), because you can use the charsets directly within the mask (if built-in charsets or hard-coded characters like ?d?dT?d?d where "T" is hard-coded)


RE: Partial mask increment - JoHnDoE - 03-02-2020

Many thanks Phil !!