hashcat Forum
Hungarian charset - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: Hungarian charset (/thread-8673.html)



Hungarian charset - freeroute - 09-29-2019

Why couldn't this simple md5 hash be found by hashcat?
Maybe something important is missing. Thank you.

Code:
echo -n "óóóó" | md5sum

0380d849d5eea725653c91b8c01818c4  -


/usr/local/src/hashcat/charsets/standard/Hungarian/hu_cp1250.hcchr file contains: ÁÉÍÓÕÖÚÛÜáéíóõöúûü

Code:
hashcat -m 0 -a 3 '0380d849d5eea725653c91b8c01818c4' -1 /usr/local/src/hashcat/charsets/standard/Hungarian/hu_cp1250.hcchr ?1?1?1?1

Result: Not found.

Session..........: hashcat                     
Status...........: Exhausted
Hash.Name........: MD5
Hash.Target......: 0380d849d5eea725653c91b8c01818c4
Time.Started.....: Sun Sep 29 13:16:12 2019 (0 secs)
Time.Estimated...: Sun Sep 29 13:16:12 2019 (0 secs)
Guess.Mask.......: ?1?1?1?1 [4]
Guess.Charset....: -1 /usr/local/src/hashcat/charsets/standard/Hungarian/hu_cp1250.hcchr, -2 Undefined, -3 Undefined, -4 Undefined
Guess.Queue......: 1/1 (100.00%)
Speed.#1.........:  4409.5 kH/s (6.77ms) @ Accel:1024 Loops:18 Thr:1 Vec:4
Recovered........: 0/1 (0.00%) Digests
Progress.........: 104976/104976 (100.00%)
Rejected.........: 0/104976 (0.00%)
Restore.Point....: 5832/5832 (100.00%)
Restore.Sub.#1...: Salt:0 Amplifier:0-18 Iteration:0-18
Candidates.#1....: $HEX[e1d5edf3] -> $HEX[fcfbfcfc]


RE: Hungarian charset - philsmd - 09-29-2019

in short: encoding

the CP1250 file is not using utf8 encoding, because UTF-8 encoding is just a different encoding and CP1250 again a different encoding !

you could just create a hcchr file with utf8 encoding, or use something like this (https://hashcat.net/forum/thread-7656-post-41140.html#pid41140) :
Code:
hashcat -a 3 --stdout -1 /usr/local/src/hashcat/charsets/standard/Hungarian/hu_cp1250.hcchr ?1?1?1?1 | hashcat 0380d849d5eea725653c91b8c01818c4 --encoding-from cp1250 --encoding-to utf8


btw: note that óóóó in UTF8 is actually 8 bytes long
$HEX[c3b3c3b3c3b3c3b3] i.e. 4 times 0xc3b3


RE: Hungarian charset - freeroute - 09-29-2019

Thank you for the quick support.