writing a mask for a rule
#3
great explanation with example / command.

i would be thankful if you help me in defining rule / mask ... i have some keywords and also some digit patterns / figures and 2-3 special characters which i generally / usually used in my passwords (i have password protected excel 2007 file). whether i should generate 3 files - keyword-file, number/figure-file & special-char-file ? if so, how i should use all the three files simultaneously to either generate passwords or mask-attack ? also give any other suggestion ... thanks in advance & regards,

(07-21-2022, 01:22 PM)Snoopy Wrote: this is not possible with one mask, you have use multiple masks or use pregenerated wordlists

ill give you a hint for masks
make a file called masks.txt and add this first line (each line is one mask)
Code:
. ! .! !.?d?d?d?dKnownPartOfTheKey?d?d?d?d. ! .! !.
you can test this with
Code:
hashcat --stdout -a3 masks.txt

this will generate passes like this 
Code:
. ! .! !.4422KnownPartOfTheKey3961. ! .! !.
. ! .! !.6250KnownPartOfTheKey3961. ! .! !.
. ! .! !.1511KnownPartOfTheKey3961. ! .! !.
. ! .! !.0250KnownPartOfTheKey3961. ! .! !.
. ! .! !.2806KnownPartOfTheKey3961. ! .! !.

now you have to specifiy rules for the other combinations lets say 
* 4 digits * 5 digits *
* 5 digits * 4 digits *
* 5 digits * 5 digits *
and also for the null possibility, depending wether or not these "mixing" possibilities are wanted or unwanted (e.g. * null 4digits key 5digits *) you will need, i think, minimal 4 rules max 16 rules for one Key
Reply


Messages In This Thread
writing a mask for a rule - by veysel.macit - 07-21-2022, 03:45 AM
RE: writing a mask for a rule - by Snoopy - 07-21-2022, 01:22 PM
RE: writing a mask for a rule - by hetcat - 07-22-2022, 10:47 AM
RE: writing a mask for a rule - by Snoopy - 07-22-2022, 01:47 PM
RE: writing a mask for a rule - by hetcat - 07-25-2022, 09:54 AM
RE: writing a mask for a rule - by Snoopy - 07-26-2022, 10:48 AM