Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extracting deflated file from unencrypted zip #93

Open
swiftgeek opened this issue Feb 16, 2023 · 1 comment
Open

Extracting deflated file from unencrypted zip #93

swiftgeek opened this issue Feb 16, 2023 · 1 comment

Comments

@swiftgeek
Copy link

swiftgeek commented Feb 16, 2023

Deflated plaintext can be extracted (without inflating) from encrypted archive using
bkcrack -C ./foo.zip -c bar.xml -d barxml.bin --password password
But how to do that with unencrypted archive? Trying same with --password '' gives me
Zip error: entry "bar.xml" is not encrypted.

This route would potentially allow for identifying used deflate algorithm and parameters like compression level - assuming settings were the same between encrypted and unencrypted archives (so one plaintext to identify encrypted zip details, and another for known inflated file, that is deflated inside encrypted archive)

@kimci86
Copy link
Owner

kimci86 commented Feb 16, 2023

That is not implemented at the moment. I did that a couple of times manually with an hexadecimal editor so I agree it would be a nice feature. Thank you for the suggestion. Let's leave this issue open to remember it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants