bkcrack icon indicating copy to clipboard operation
bkcrack copied to clipboard

Is it practically impossible to crack a deflated file from a few header bytes?

Open L4cache opened this issue 1 year ago • 1 comments

I was trying to crack some zipped mp4 video files. For stored files this works, but for deflated files, I have no success. I think it's because the window used in deflate is usually much bigger (longer) than the format magic bytes, this will make the deflated text dependant on next - probably a few thousand - bytes, and the plain text is practically impossible to "construct" from just a few magic bytes. Am I right?

L4cache avatar Sep 27 '24 11:09 L4cache

Yes in general this is right. There are some cases where deflate compression outputs a stored block at the beginning or at the end of the deflate stream, which can make cracking easier, but in general we need to compress a big chunk of the file to get correct compressed data.

kimci86 avatar Sep 27 '24 12:09 kimci86

I am assuming the question is answered so I close this issue.

kimci86 avatar Oct 25 '24 18:10 kimci86