Troubles with creating the mask
#13
If you read my posts carefully, I just explained what the fields of a hcmask file look like (each field/column of a hcmask file is separated by a comma ","). The "--custom-charset1" was just an explanation what the first field in a hcmask file would be when the users needs/sets it - before the mask which is always at the very end -... you don't need to write it (it was just the explanation what would be set.... i.e. what is the equivalent if you look at the hashcat --help output and use it without/outside the mask file).

Your mask should probably look like this:
Code:
23wWeEaAtThHrR,23eErRsSpP,23sSpPoOnN,?1?1?1?1?1?2?2?2?2?3?3?3?3?3

and use the --increment option if you are not sure about the lengths:

Code:
.\hashcat.exe -m 15700 --increment --increment-min 5 -a 3 hash.txt mask_file.hcmask

Note that --increment is very special here and it might not do exactly what you may expect ... i.e with length 5, the mask would not contain any ?2 or ?3 characters, but only ?1?1?1?1?1 (because hashcat increments always the full mask , SEE the additional explanation below)

just as a further explanation; if you only need ONE single custom charset i.e. --custom-charset1 , this would be the mask_file.hcmask

Code:
23#AEHNOPRSTWaehnoprstw,?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1

also here, if you are not sure about the length, you could either write down different MASK (i.e. lines) in the hcmask file, or use --increment
As a further explanation: the --increment works like this:
hashcat just "loops" over the different lengths, that means that with --increment --increment-min 5 , this is what hashcat will try when the full masks in the hcmask file line (last field) is ?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1 (without ?2 and without ?3 as a explanation, but the same holds for the other masks you use): first ?1?1?1?1?1 , then ?1?1?1?1?1?1 , then ?1?1?1?1?1?1?1, then ?1?1?1?1?1?1?1?1 etc (up to the mask length or if set up to --increment-max). To increment in the middle you would need to write down several masks in the mask file, i.e. if you want to increment like this ?1?1?1?2?3?3?3 , ?1?1?1?2?2?3?3?3 , ?1?1?1?2?2?2?3?3?3 (as you see the middle ?2 is increment in this EXAMPLE, we need to write them all down, because --increment will always increment the whole mask - i.e. only add another position of the mask at the END).

This is also basically what the FAQ and the wiki explain about the .hcmask file format... but I hope it's more clear now

tl;dr : just define the custom charsets directly in the correct field/column of the hcmask file, without the "--custom-charset" (that would be quite stupid if every hcmask file would always need to have that string when a custom charset would need to be defined).

It's good that you are willing to learn and I think you are quite quick at learning (even as a new user, noob). The beginning is always hard, but if you get the format and start to understand how hashcat works, you can profit a lot from this *advanced password cracker*. Good luck
Reply


Messages In This Thread
Troubles with creating the mask - by McWorse - 05-15-2021, 08:44 PM
RE: Troubles with creating the mask - by McWorse - 05-16-2021, 10:28 AM
RE: Troubles with creating the mask - by philsmd - 05-16-2021, 12:02 PM
RE: Troubles with creating the mask - by McWorse - 05-16-2021, 12:26 PM
RE: Troubles with creating the mask - by philsmd - 05-16-2021, 12:38 PM
RE: Troubles with creating the mask - by McWorse - 05-16-2021, 12:50 PM
RE: Troubles with creating the mask - by McWorse - 05-16-2021, 04:04 PM
RE: Troubles with creating the mask - by 10785740 - 05-17-2021, 08:56 AM
RE: Troubles with creating the mask - by Snoopy - 05-17-2021, 01:20 PM
RE: Troubles with creating the mask - by philsmd - 05-18-2021, 11:26 AM
RE: Troubles with creating the mask - by McWorse - 05-26-2021, 11:16 AM
RE: Troubles with creating the mask - by McWorse - 05-26-2021, 02:17 PM
RE: Troubles with creating the mask - by philsmd - 05-26-2021, 07:58 PM
RE: Troubles with creating the mask - by McWorse - 05-26-2021, 09:09 PM
RE: Troubles with creating the mask - by McWorse - 05-27-2021, 05:34 PM
RE: Troubles with creating the mask - by Snoopy - 05-27-2021, 06:02 PM