Trouble using å,ä,and ö in mask attack
#4
(08-17-2023, 01:35 PM)Snoopy Wrote: short answer because no time, hashcat works on bytesize objects so cracking "single char" ä for example would mean your mask has to be of length 2 because in hex this char ä is c3 a4, å is c3 a5, take a look at an utf-8 char to hex conversion table and use hex charset as input (use a file for that)
Can you please elaborate? Take your time.

(08-17-2023, 01:35 PM)Snoopy Wrote: simple example to crack the md5 for the german word öl (in hex c3 b6 6c) the mask needs to be at least of lenght 3, ?b?b?l
Why does it take 3 bytes to encode 2 letters in UTF-8? By the way, in Swedish, "öl" is the kind of oil you can drink, not the kind you pour into an engine. Das Bier! As I recall, it was a German guy who came up with the UTF-8 encoding. The world wanted UTF-16. It's said to be a nice hack. But I haven't read much about it or know the name of the guy.

(08-17-2023, 01:35 PM)Snoopy Wrote: there is/was? a link in the wiki where someone explained this for foreign non plain ascii chars very well, or try to google this
I'm not exactly sure what to look for. If it's in the wiki, can you please post a link here?

(08-17-2023, 01:35 PM)Snoopy Wrote: in short take a look at your needed hex values and put them into two different charset (as you can see both chars, for sure all three starts with c3 in hex so you need to "add" hec c3 for all positions
Are you saying that every character needs to be converted to UTF-8 hex? Why have two sets and not one? I see that "ä" is "c3 a4" and "å" is "c3 a5". So what's the idea then?... you have one set that starts with "c3" and then append "a4" and "a5" for "ä" and "å" respectively? Programmatically?...

(08-19-2023, 08:42 PM)CornyHorn Wrote: Thanks you ever so much for the answer! But o my god I feel so extremely unintelligent when I try to get this stuff in to my head. I took your advice and googled a utf-8 char to hex conversion table. But shall I just copy that in to two charsets? This is the one I found https://www.utf8-chartable.de/ . Iḿ so very sorry for all my stupid questions, I really hope they don´t drive you mad

Don't be so apologetic for no reason and so hard on yourself. It's not good for your self-confidence. Stupid questions? Extremely unintelligent? Come on! You got to be kidding. Even if you're only saying this to get an answer, you're not doing anyone a favor, and least of all yourself. You say you can't get this stuff into your head. If I may ask, how big is your head? Have you tried taking it in small bites? There is no royal road to knowledge. Rome wasn't built in one day, etc.

I'm sorry I can't help you with this. I don't know all the answers either. Just stay low and take it slow, until you know. Yo!? Take your time. Here is something else for you to think about. This is a quote by Dave McKay of How-To-Geek. "Complexity is usually just a lot of simplicity bolted together. Once you understand the fundamental building blocks, you can create efficient, powerful utilities, and develop valuable new skills."

One question for you! How often do people in Sweden use å, ä and ö in their passwords? If these letters are used only by 1% of all users, do you really need a special character set that would include these letters? Just something to think about. But this looks like a good start, if you want to build your own dictionary (or just want to know the stats for Swedish password habits): Swedish Passwords - Analysis of Swedish password usage.
Reply


Messages In This Thread
RE: Trouble using å,ä,and ö in mask attack - by meow - 08-20-2023, 07:11 PM