35 ms·
What the article doesn't cover is more braindamage in the ZIP spec which prevents a forward scan through the individual file records. This is detailed in the Wi
by kazinator 10y ago
What the article doesn't cover is more braindamage in the ZIP spec which prevents a forward scan through the individual file records. This is detailed in the Wikipedia.
Tools that correctly read .ZIP archives must scan for the end of central directory record signature, and then, as appropriate, the other, indicated, central directory records. They must not scan for entries from the top of the ZIP file, because only the central directory specifies where a file chunk starts. Scanning could lead to false positives, as the format does not forbid other data to be between chunks, nor file data streams from containing such signatures.
- 762236 10y agoI wonder who here remembers self-extracting zip files under DOS/Windows? They put the zip file into the executable file. And you could extract with a normal unzip program, I believe.