hashcat Forum
hcstat to hcstat2 - 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: hcstat to hcstat2 (/thread-7980.html)



hcstat to hcstat2 - Larrax - 11-29-2018

Hi,
is there a way to convert old hcstat file into the new hcstat2 format?

Looking forward to the answer!


RE: hcstat to hcstat2 - philsmd - 11-29-2018

well, in theory one could develop a tool to convert .hcstat files into .hcstat2 files, but at the end it doesn't make much sense because the new file format of course has several advantages (most importantly the support for "longer passwords", i.e. increased length support) and if you just convert the old format to the new one you lose all this info.

Therefore, at the end it doesn't really make sense and it would be MUCH better to generate the hcstat2 file directly from the original word list(s). Of course, this implies that you need to have the original dictionary file and generate a .hcstat2 file out of it.

Do you have the original word list file (rockyou.txt etc) ?

The instruction on how to generate a hcstat2 file are on the corresponding github repo (https://github.com/hashcat/hashcat-utils/blob/5f4f35d94b0229c41e61b2fd369c016b71ff9641/src/hcstat2gen.c#L22) it includes compressing the file (after the hcstat2gen run) with lzma.


RE: hcstat to hcstat2 - Larrax - 11-29-2018

Thank you for the extensive answer phil!
There should be no problem in generating new ones, I was just curious about the possibility.

Have a nice day!