New submission from Yaroslav <sbojc...@gmail.com>: There's issue while setting password. I brute-force different passwords for that arhive-file, and it pass with different, not correct password. For that arhive password is: "pass", but that arhive is correct in python and even extract files from that with not correct passwords: ('Password is:', 'aafy') ('Password is:', 'aakv') ('Password is:', 'aavu') ('Password is:', 'aazs') ('Password is:', 'abgj') ('Password is:', 'abmr') ('Password is:', 'abzo') ('Password is:', 'acds') ('Password is:', 'acdu') ('Password is:', 'ace') ('Password is:', 'achc') ('Password is:', 'acue') ('Password is:', 'acxi') ('Password is:', 'adcj') ('Password is:', 'adcl') ('Password is:', 'adde') ('Password is:', 'advx') ('Password is:', 'aenu') ('Password is:', 'afbl') ('Password is:', 'afqg') ('Password is:', 'afyl') ('Password is:', 'agef') ('Password is:', 'agtv') ('Password is:', 'aimo') ('Password is:', 'aizr') ('Password is:', 'ajjt') ('Password is:', 'ajlj') ('Password is:', 'akqr') ... Of course content of file is not correct ("Q1E85�ڳM��ژo��H*] 5Q��� ����X">_+x�������I�k�~L>�� ").
z = zipfile.ZipFile("data.zip", 'r') z.setpassword("aafy") print(z.read("secretfile.txt")) ---------- messages: 130361 nosy: sbojchuk priority: normal severity: normal status: open title: Zip password issue versions: Python 2.5, Python 2.6, Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11443> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com