SHA-256 Problem - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Deprecated; Previous versions (https://hashcat.net/forum/forum-29.html) +--- Forum: General Help (https://hashcat.net/forum/forum-8.html) +--- Thread: SHA-256 Problem (/thread-2511.html) |
SHA-256 Problem - wunuh - 08-11-2013 Hello, I am unable to crack hash which includes letters from Latvian language, I am testing letter: Ä. In the link are more details, also I included hashes that I generated from websites, some of them are different. Maybe there is another way to run hashcat or I am just doing something wrong? Thank you. Code: The word is: testÄ Code: http://www.kreativekorp.com/charset/encoding.php?file=cp775.kte&char=83 cmd Code: hashcat-cli32.exe --hash-mode 1400 --attack-mode 3 --pw-min 5 --pw-max 5 --outfile crack.txt --custom-charset1 testÄ hash.txt ?1?1?1?1?1 hash.txt Code: http://www.insidepro.com/hashes.php RE: SHA-256 Problem - undeath - 08-11-2013 this is most likely a charset problem. Code: > Desktop/hashcat-0.46/hashcat-cli64.bin -m 1400 /tmp/a -1 testÄ "?1?1?1?1?1?1" -a3 --pw-min 6 Code: > echo -n Ä | hexdump RE: SHA-256 Problem - wunuh - 08-11-2013 Hello, I have hash and I know there might be 2 of those special letters and its length is 5, so Quote:hashcat-cli32.exe -m 1400 hash.txt -o crack.txt -1 char.txt "?1?1?1?1?1?1?1" -a3 --pw-min 5 --pw-max 7 char.txt (Encoded in UTF-8 without BOM) Code: teÄ“stÄa hash.txt Code: 0f508e3524bffea9ad417f945b6eb205d12767a8c8f0919c90797261cb4043a3 crack.txt Code: 59830ebc3a4184110566bf1a290d08473dfdcbd492ce498b14cd1a5e2fa2e441:tests Everything is working now, but I still haven't figured out something in my mind. Thank you. RE: SHA-256 Problem - undeath - 08-11-2013 UTF8 needs two bytes (thus two chars) to encode the special chars. RE: SHA-256 Problem - atom - 08-12-2013 It's correct what undeath said. To explain you need to understand how multichar bytes are used in your case. The length for tests is 5, correct. The length for testÄ and tÄ“sta is 6, not 5! The length for tÄ“stÄ is 7. By adding the special characters as charset hashcat splits them into 2 single byte characters. One of them indicates the utf8 mark, one the special character. Since its iteration through all of them because you do 7x?1 it brute-forces them, but not how you think it did it. Also note that hash functions work blockwise, not charwise. They dont care about encoding. RE: SHA-256 Problem - wunuh - 08-13-2013 Hello, I wanted to know is there an option to use letters from charset only once. For example charset: testsÄÄ“s, so every letter is used only once except t is two and s three times. Thank you. RE: SHA-256 Problem - atom - 08-14-2013 you can use masks with letters.. for example -1 ?d test?1 matches test0 - test9 read this please: https://hashcat.net/wiki/doku.php?id=mask_attack |