hashcat Forum

Full Version: Non-printable chars in hcmask files ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,

I know I can do a rule with things like "$\x0d" to append a special char to a word from a wordlist, but I can't seem to achieve the same thing with hcmask files, e.g. this doesn't seem to do what I was hoping. 

?d?l,\x0d,?1?1?1?1?1?1?2 

where i'd like it to match e,g "fubar\x0d" 

Is there any way to get awkward chars like \x0d, or indeed comma into these charsets? 

thanks,
I would use ?d?l,0d,?1?1?1?1?1?1?2 and --hex-charset switch. I supose that should do the job. Someone correct me if I'm wrong
(01-23-2020, 05:06 PM)azaran Wrote: [ -> ]I would use ?d?l,0d,?1?1?1?1?1?1?2  and --hex-charset switch. I supose that should do the job. Someone correct me if I'm wrong

Perfect, thank you !   

c:> hashcat64.exe -a3 -m 1000 hashes.txt foo.hcmask  -O  -w3 --hex-charset
...
a2bbe8d13c2e860d926432e5e6e2cd40:$HEX[3151337a7a0d]

31fd048eebcea13ba9141412f8acbd97:$HEX[6151646f7a0d]
f8779d812f211f3de933a93118d49ab0:$HEX[43516e517a0d]