hashcat Forum
mp64 Print hex as string - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat-utils, maskprocessor, statsprocessor, md5stress, wikistrip (https://hashcat.net/forum/forum-28.html)
+--- Thread: mp64 Print hex as string (/thread-10569.html)



mp64 Print hex as string - byte7a - 01-06-2022

Command
mp64 --hex-charset -1 ab3654ee ?1?1?1?1

output:
Tююю
юллл
...

How to print like that 
36eeab54


RE: mp64 Print hex as string - DanielG - 01-07-2022

don't specify --hex-charset


RE: mp64 Print hex as string - byte7a - 01-07-2022

(01-07-2022, 10:38 AM)DanielG Wrote: don't specify --hex-charset

Then the output is:
aaaa
aaab
aaa3

But i need to print as hex pairs like that:
abababab
ababab36
ababab54


RE: mp64 Print hex as string - Snoopy - 01-07-2022

(01-07-2022, 11:22 AM)byte7a Wrote:
(01-07-2022, 10:38 AM)DanielG Wrote: don't specify --hex-charset

Then the output is:
aaaa
aaab
aaa3

But i need to print as hex pairs like that:
abababab
ababab36
ababab54

for this more specific purpose you have to generate your own dictionary with hashcat utils like this

file
Code:
ab
36
54
ee

using combinator to generate all possibilitis up to your desired length (given your example the fastest way is this)

combinator file file > 2
combinator 2 2 > 4

after this in file 4 there are all "hex-string-possibilities" with your given input ab, 36, 54, ee, so 4^4, 256 possibilities