-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
zip with password bug #671
Comments
Can you provide some example data please? This seems to work for me: https://gchq.github.io/CyberChef/#recipe=Zip('file.txt','','secret','Deflate','MSDOS','Dynamic%20Huffman%20Coding')Unzip('secret',false)&input=VGVzdA |
HI, if you don't use the unzip and save the output to download.zip, then
the output file cannot naturally unzip by any external unzip program.
Any password that i put could be wrong
…On Thu, 17 Oct 2019 at 00:43, n1474335 ***@***.***> wrote:
Can you provide some example data please? This seems to work for me:
https://gchq.github.io/CyberChef/#recipe=Zip('file.txt','','secret','Deflate','MSDOS','Dynamic%20Huffman%20Coding')Unzip('secret',false)&input=VGVzdA
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#671?email_source=notifications&email_token=AEJE5HGWTTAWJXSDQQYHB3LQO5ACBA5CNFSM4I7UKV52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBNFEVI#issuecomment-542790229>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEJE5HHK7LJI2UMBAUI6HDDQO5ACBANCNFSM4I7UKV5Q>
.
|
Yes, I'm seeing that too. I think this is due to the difference between encrypting each file in the archive separately and encrypting the archive itself. We should make this a user choice. |
Having the same issue :/ |
Experienced the same issue. unzipping it may work inside of CyberChef, but when I try to use any other tool to unzip a file that I zipped+encrypted with cyberchef, the unzipping fails. For example, try unzipping the file CyberChef generates with Windows built-in unzip and 7-zip. Interestingly, when I uploaded a file to a sandbox which handles encrypted zips, the sandbox was able to unzip the file with no issue. |
This issue looks like due to a bug in zlib.js. I reported the bug: |
I also came across this issue. zlib.js seems to be abandoned since it's last change was five years ago. |
I have used the zip function with a password to encrypt a file, however, zip succeeded but the password was not matched when decoding.
The text was updated successfully, but these errors were encountered: