(01-14-2021, 03:05 PM)Snoopy Wrote: just a quick answer, use only the maskfile like this, charset has to be given inside the maskfile not on commandline as noted here
https://hashcat.net/wiki/doku.php?id=mask_attack (see notes) -> It is not allowed for a [mask] to contain ?1,?2,?3 or ?4 references without those being set via [?1], [?2], [?3], [?4]. This will result in an error message. If you want to use a custom charset for your masks you must define it within the same line of the hcmask file by using the [?1], [?2], [?3], [?4] fields.
mask.txt
Luisdie,partialpass?1
Code:hashcat -a 3 --stdout test/mask.txt
Code:partialpasse
partialpasss
partialpassi
partialpassu
partialpassd
partialpassL
as you can see, the second i is skipped by hahscat
maybe this will help to understand
mask.txt
TES,012,partialpass?1?2
results in 3*3 pw (3 chars 'TES' combined with 3 digits '012')
Code:partialpassT1
partialpassS1
partialpassE1
partialpassT2
partialpassS2
partialpassE2
partialpassT0
partialpassS0
partialpassE0
Yes thanks a lot this works. So just specify each line of the mask with the charset.
masklettersandsumbols,?1?1partialpass
Just one more question, im trying to also add a space into the charset using «space» but this doesnt seem to work. How to specify a space ?