hashcat Forum
Hash-encoding exception ? - 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: Hash-encoding exception ? (/thread-6235.html)



Hash-encoding exception ? - jakobm - 01-25-2017

Hi,

I've tried to make an MD5 hash with a salt in different ways from the Ubuntu command line for testing purposes. I keep getting this error message:

Hash-encoding exception

For instance when running 

Code:
./hashcat64.bin -m 20 -a 3 'hashvalue'

also 

Code:
./hashcat64.bin -m 10 -a 3 'hashvalue'

gives me the same error. 

When using -m 0 I get 'Line-length exception' which seem more common. I cannot find any references to 'Hash 'hashvalue': Hash-encoding exception' except in the hashcat source-files. 

I hope you can help me.

Best regards.

Ps.

I generated the hash-value by using

Code:
python3 -c 'import crypt; print(crypt.crypt("password", crypt.mksalt(crypt.METHOD_MD5)))'

in the command line.


RE: Hash-encoding exception ? - philsmd - 01-25-2017

These hashes are md5crypt hashes.
See https://hashcat.net/wiki/doku.php?id=example_hashes and the help (it's the hash mode -m 500 = md5crypt, MD5(Unix), FreeBSD MD5, Cisco-IOS MD5 ).

You sohuldn't post hashes here without being asked by the administrator (or a moderator). You risk to get banned.


RE: Hash-encoding exception ? - jakobm - 01-26-2017

Ok, thank you very much for the info! I will redact the hashes.