hashcat Forum
Zip not hashing right because of size - 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: Zip not hashing right because of size (/thread-11172.html)



Zip not hashing right because of size - throwie.awa - 12-07-2022

So, I was making a few files as test file to use with hashcat, one of these files however was more than 1MB, and zip2john just gave me a 2MB file back as the hash, (yes, there were multiple files in the zip)

As most of us know, hashcat can only process 8KB of 13600 at a time, but my file was into the thousands compared to the 8KB 13600 could process

Of course, hashcat gave me a "Token length exception" and no hashes were loaded

Is there anything at-all that I can do? A guy in r/howtohack said I could take the the sha256 of the file and use that instead, but it didn't work :/


RE: Zip not hashing right because of size - marc1n - 12-07-2022

Use https://www.openwall.com/john/


RE: Zip not hashing right because of size - throwie.awa - 12-10-2022

(12-07-2022, 10:35 AM)marc1n Wrote: Use https://www.openwall.com/john/
I tried, but "No hashes loaded" is apparently a very common, yet super badly explained why it happens and what to do if it happens
Plus, I just really want to get this working with hashcat only, not any other software


RE: Zip not hashing right because of size - b8vr - 12-11-2022

Would you be willing to share the hash/hashfile? I wouldn't mind taking a look at it.


RE: Zip not hashing right because of size - throwie.awa - 12-14-2022

(12-11-2022, 10:52 AM)b8vr Wrote: Would you be willing to share the hash/hashfile? I wouldn't mind taking a look at it.
Sure, here's the raw file
zip2john is acting a little bit weird (by not compiling with the make command), so here's the zip itself
https://drive.google.com/file/d/1SC9cxKApBlDWq6FJSWK7wgS512tltYh5/view


RE: Zip not hashing right because of size - b8vr - 12-15-2022

(12-14-2022, 02:45 AM)throwie.awa Wrote:
(12-11-2022, 10:52 AM)b8vr Wrote: Would you be willing to share the hash/hashfile? I wouldn't mind taking a look at it.
Sure, here's the raw file
zip2john is acting a little bit weird (by not compiling with the make command), so here's the zip itself
https://drive.google.com/file/d/1SC9cxKApBlDWq6FJSWK7wgS512tltYh5/view

Ok. So this does not create a 2MB hash, but a 40 MB hash......
And yes, that seems to be too much for hashcat to handle.
When I run hashcat --identify on it it says "Oversized line detected! Truncated 25121624 bytes".

How did you create the zip file?


RE: Zip not hashing right because of size - andree23 - 01-04-2023

(12-07-2022, 10:35 AM)marc1n Wrote: Use https://www.openwall.com/john/ slope
I tried using it but maybe it doesn't really work for me