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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug occurs when content[0] is a folder #10

Open
emreyvz opened this issue Sep 18, 2023 · 0 comments
Open

Bug occurs when content[0] is a folder #10

emreyvz opened this issue Sep 18, 2023 · 0 comments

Comments

@emreyvz
Copy link

emreyvz commented Sep 18, 2023

馃摎 test.zip
   馃搧New_Folder
       馃柤锔廼mage1.png

z.read() can read folders without password. So z.read(content[0]) which is New_Folder, returns true and not throw error. Loop immediately terminating without finding correct password. Code should use first file (eg: file_name.file_extension) in content array instead of content[0]

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

No branches or pull requests

1 participant