Combining a custom hex charset with the standard charsets
#3
(01-31-2019, 06:27 PM)royce Wrote: You have to use a list of masks that represent all possible character positions in the target. This is of course not ideal; if hashcat had support for multibyte characters, all of these workarounds wouldn't be necessary. But adding such support is ... non-trivial.

Thanks. 

Reading up on this I think the format in the mask file in this case would be as below. This does not cause errors in Hashcat but it also does not configure Hashcat to treat the custom charsets as hex. Not surprisingly, the hash is not cracked.

When creating the mask file I formatted it to crack the letters "åb" which corresponds to the MD5 hash "41eae93b64181adaf6b3737efc9627e7".

?a
c3,a5a4b6858496,?1?2
c3,a5a4b6858496,?a?1?2
c3,a5a4b6858496,?1?2?a

In order to try to include the flag "--hex-charset" I tried the command "hashcat64.exe 41eae93b64181adaf6b3737efc9627e7 -m 0 -a 3 --hex-charset maskfile.hcmask" which actually worked. 

Is this the correct way to do this? Also, how come Hashcat knows which charset in the mask file to treat as hex when the flag "--hex-charset" is set on "global" level and not per required line in the mask file?
Reply


Messages In This Thread
RE: Combining a custom hex charset with the standard charsets - by nevermind - 02-01-2019, 01:37 PM