Please note, this is a STATIC archive of website hashcat.net from October 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.

hashcat Forum

Full Version: Mask Attacks with Mask File and Custom Charset
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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
many thanks Smile