Mask Attacks with Mask File and Custom Charset
#1
Hello everyone,
i know where the wiki is https://hashcat.net/wiki/doku.php?id=mask_attack but I am struggling to get a custom charset to work with a mask file.
Below hcmask contains several masks. For example:
?l?1?d

I used:

Code:
./hashcat64.bin -m 0 -1 charsets/special/German/de_ISO-8859-1-special.hcchr -2 ?l?u?d?1 -a 3 hash masks/rockyou-1-60.german.hcmask 

./hashcat64.bin -m 0 -1 charsets/special/German/de_ISO-8859-1-special.hcchr -2 ?l?u?d?1 -a 3 hash [?1]masks/rockyou-1-60.german.hcmask 

./hashcat64.bin -m 0 -1 charsets/special/German/de_ISO-8859-1-special.hcchr -2 ?l?u?d?1 -a 3 hash [?1],masks/rockyou-1-60.german.hcmask 

./hashcat64.bin -m 0 -1 charsets/special/German/de_ISO-8859-1-special.hcchr -2 ?l?u?d?1 -a 3 hash [?1,]masks/rockyou-1-60.german.hcmask 

./hashcat64.bin -m 0 -1 charsets/special/German/de_ISO-8859-1-special.hcchr -2 ?l?u?d?1 -a 3 hash ?1,masks/rockyou-1-60.german.hcmask 

./hashcat64.bin -m 0 -1 charsets/special/German/de_ISO-8859-1-special.hcchr -2 ?l?u?d?1 -a 3 hash ?1masks/rockyou-1-60.german.hcmask 

./hashcat64.bin -m 0 -a 3 hash [charsets/special/German/de_ISO-8859-1-special.hcchr]masks/rockyou-1-60.german.hcmask 

./hashcat64.bin -m 0 -a 3 hash [charsets/special/German/de_ISO-8859-1-special.hcchr],masks/rockyou-1-60.german.hcmask 

./hashcat64.bin -m 0 -a 3 hash [charsets/special/German/de_ISO-8859-1-special.hcchr,]masks/rockyou-1-60.german.hcmask 


none of which works. The wiki is not being clear where to put the comma and the [], so i tried basically every combination i could think of.
Could anybody provide me a simple usage example for pipeing the first custom charset to the maskfile?
Thank you.
Reply
#2
as the two guides from https://hashcat.net/wiki/?id=mask_attack...mask_files and https://hashcat.net/faq#what_is_a_hashcat_mask_file already emphasize, you must specify all the hcchr and custom charset directly within the mask file (.hcmask)

my.hcmask
Code:
charsets/special/German/de_ISO-8859-1-special.hcchr,?l?u?d?1,?a?a?a?a?2?2?2?2

Code:
./hashcat64.bin -m 0 -a 3 hash my.hcmask
Reply
#3
many thanks Smile
Reply