Zip not hashing right because of size
#1
Brick 
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 :/
Reply
#2
Use https://www.openwall.com/john/
Reply
#3
(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
Reply
#4
Would you be willing to share the hash/hashfile? I wouldn't mind taking a look at it.
Reply
#5
(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/1SC9cxKA...ltYh5/view
Reply
#6
(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/1SC9cxKA...ltYh5/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?
Reply
#7
(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
Reply