hashcat Forum
English and non-english characters (hex UTF-8) - 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: English and non-english characters (hex UTF-8) (/thread-10225.html)



English and non-english characters (hex UTF-8) - randomuser112233 - 07-22-2021

Hi

Would like use 1 and 2 byte characters.

I understand 2 byte will be as:
-1 (base code)
-2 (character code)

I can use for example that:
Code:
hashcat --potfile-disable -m 0 -a 3 md5_test.txt --hex-charset -1 c3 -2 a4a5b6 ?1?2?a?a

But how use 1 byte characters?
In ?a I would like use 2 byte characters and digitis which are 1 byte.
Is that possible?

My idea was add digitis in hex to -1 but that will create more candidates as it will add -2? Is that correct?


RE: English and non-english characters (hex UTF-8) - Snoopy - 07-22-2021

im not quite sure wheter hex is supported in maskfile or not. but i would try building up a maskfile for that, starting with (INFO in maskfiles, custom charsets (up to 4) are divided by , ) and then add ?1?2 multiple times, each line = a whole mask (manual bf)

c3,a4a5b6,?1?2
?d

c3,a4a5b6,?1?2?d
c3,a4a5b6,?1?2?1?2
?d?d

c3,a4a5b6,?1?2?1?2?d
c3,a4a5b6,?1?2?1?2?1?2
?d?d?d

i hope you get the point

EDIT:
quick test with
hashcat -a 3 --stdout --hex-charset maskfile.txt seems to work like expected (stripped the lines with single char/digits)

å1
ö2
ä1
å2
ö3
ä2
å3
ö4
ä3
å4
ö5
ä4
å5
ö6
ä6
å6
and so on


RE: English and non-english characters (hex UTF-8) - randomuser112233 - 07-22-2021

I got the point - A bit of work but all should work. Many thanks for tips Smile

PS. Hex is supported in maskfile.