hashcat Forum
$HEX[...] - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Deprecated; Previous versions (https://hashcat.net/forum/forum-29.html)
+--- Forum: Old oclHashcat Support (https://hashcat.net/forum/forum-38.html)
+--- Thread: $HEX[...] (/thread-3473.html)



$HEX[...] - tbm - 06-14-2014

oclhashcat cracked md5 of f54198dc47cf5cd61202b8675e118811 as $HEX[454645c7494e4152] which is EFEÇINAR
but if you generate md5 from EFEÇINAR it is: 84be3c290cff6a369b09f662713239af
if you generate md5 from $HEX[454645c7494e4152] it is: a5ebb0a6d0c4ce3c412c7a0db4b6c7e1

what is the correct one?


RE: $HEX[...] - epixoip - 06-14-2014

it's an encoding error on your part. your terminal is probably UTF8, and that string isn't.

Code:
epixoip@token:~$ printf "\x45\x46\x45\xc7\x49\x4e\x41\x52" | md5sum
f54198dc47cf5cd61202b8675e118811  -



RE: $HEX[...] - philsmd - 06-14-2014

Yes, encoding matters. Try this:

Code:
echo -en 'EFE\xc7INAR' | md5sum
f54198dc47cf5cd61202b8675e118811  -

or this:
Code:
echo -n 'EFEÇINAR' | iconv -t iso-8859-1 | md5sum
f54198dc47cf5cd61202b8675e118811  -



RE: $HEX[...] - tbm - 06-14-2014

(06-14-2014, 11:16 AM)epixoip Wrote: it's an encoding error on your part. your terminal is probably UTF8, and that string isn't.

Code:
epixoip@token:~$ printf "\x45\x46\x45\xc7\x49\x4e\x41\x52" | md5sum
f54198dc47cf5cd61202b8675e118811  -

thanks epixoip & philsmd