This new version of zipdump.py, a tool to analyze ZIP files, adds option -f to scan for PK records and adds support for Python 3.
More details in an upcoming blog post.
zipdump_v0_0_16.zip (https)
MD5: 616654BDAFFDA1DDE074E6D1A41E8A42
SHA256: F3B6D52BA32D6BA3836D0919F2BBC262F043EF6E26D173DD0965735D4F3B5598
Good code …
first about windows and python
if sys.platform.startswith(“linux”) or sys.platform == “darwin”:
raise
second about binary:
Python 3.1 added io.TextIOBase.detach()
you can use
sys.stdout.buffer.write(b’something’).
and using io.TextIOBase.detach() streams can be made binary by default.
Comment by Cătălin George Feștilă — Saturday 28 December 2019 @ 21:01
[…] Update: zipdump.py Version 0.0.16 […]
Pingback by Week 52 – 2019 – This Week In 4n6 — Sunday 29 December 2019 @ 3:55
I don’t understand your comment: why do you want to raise an error when running on Linux or macOS?
Comment by Didier Stevens — Sunday 29 December 2019 @ 13:07
your code is made for windows and the users need to know that before use it … this is the reason is that decision for platforms !!
Comment by Cătălin George Feștilă — Sunday 29 December 2019 @ 14:45
Oh … Now I understand your comments. No, that’s wrong!! My tool zipdump is not made for Windows only. In fact, most of my Python tools are designed to run on Windows, Linux and macOS. If you look at my videos, you will notice that most of my “command-line” videos are recorded on my Mac. https://videos.didierstevens.com/
Comment by Didier Stevens — Monday 30 December 2019 @ 23:36
[…] Update: zipdump.py Version 0.0.16 […]
Pingback by Overview of Content Published in December | Didier Stevens — Wednesday 1 January 2020 @ 0:00
[…] zipdump.py, pecheck.py, […]
Pingback by Analyzing Unusual ZIP Files – Didier Stevens Videos — Wednesday 1 January 2020 @ 13:08