hashcat Forum
Problems with the encodings of dictionaries ... - 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: Problems with the encodings of dictionaries ... (/thread-7008.html)



Problems with the encodings of dictionaries ... - zamok1980 - 11-12-2017

Help please understand the hacking of passwords when working with various encodings of dictionaries...

I created a RAR archive with a password in Turkish - abaküsçü

Got a hash of the password - $RAR3$*0*83xxxx04c276xxd0*840fxxxxxxafc0a5xxxxb31053xxxx41


Also I have a dictionary in which there is a given password in the UTF-8 encoding (turkish.dic).
I ran cracking in the windows console with different options, for example:



hashcat64 -m 12500 -a 0 $RAR3$*0*83xxxx04c276xxd0*840fxxxxxxafc0a5xxxxb31053xxxx41 turkish.dic

or

hashcat64 -m 12500 -a 0  --encoding-from=utf-8 --encoding-to=866 $RAR3$*0*83xxxx04c276xxd0*840fxxxxxxafc0a5xxxxb31053xxxx41 turkish.dic


But not successfully((

What's the problem, what am I doing wrong?

[edit: all hashes masked by philsmd]


RE: Problems with the encodings of dictionaries ... - philsmd - 11-12-2017

You are not allowed to post hashes here, you get banned for breaking the forum rules.

For what regards the problem with encoding: you need to use the correct encoding, in this case it is ISO-8859-9:

Code:
hashcat -m 12500 --encoding-to ISO-8859-9 hash.txt dict.txt
$RAR3$*0*83xxxx04c276xxd0*840fxxxxxxafc0a5xxxxb31053xxxx41:$HEX[6162616bfc73e7fc]



RE: Problems with the encodings of dictionaries ... - zamok1980 - 11-12-2017

Sorry....
Thank you so much!


RE: Problems with the encodings of dictionaries ... - zamok1980 - 11-16-2017

what are the parameters for the Cyrillic alphabet?

I created a RAR archive with a password in Russian - я

I have a russian dictionary in the UTF-8 encoding.
hashcat -m 12500 --encoding-to ISO-8859-5 hash.txt dict.txt

No result (((


RE: Problems with the encodings of dictionaries ... - philsmd - 11-16-2017

russian passwords could also be encoded with CP1251 or KOI8-R etc.
Pro tip: there are some charsets shipped with hashcat (see for instance the charsets/standard/Russian folder under your extracted hashcat folder)... or just search with your preferred search engine what the possible/standard/default encodings for a specific language is.


RE: Problems with the encodings of dictionaries ... - zamok1980 - 11-16-2017

I created a RAR archive with a password in Russian - я (len of password - 1)
I tried (GPU GTX 1080 and GTX980):

hashcat -m 12500 -a 3 hash.txt ?b

and

hashcat -m 12500 -a 3 hash.txt ?b?b
but the password was not found((


When I created MD5 hash with same password - я, password was found successful..