Test files › Archives › corrupt-central-directory.zip
Corrupt ZIP file
Valid local file headers, but the central directory signature is overwritten with garbage.
↓ Download corrupt-central-directory.zip| Filename | corrupt-central-directory.zip |
| Format | ZIP |
| Size | 219 bytes (219 bytes) |
| MIME type | application/zip |
| SHA-256 | d1194edeac6e322b76436927038138a9dc8325a93fc5daed8e399df8b68ed7d5 |
What this file catchesReaders that trust the central directory blindly and crash, versus tolerant ones that can recover entries by scanning local headers.
Download & verify
curl -fsSL -o "corrupt-central-directory.zip" "https://files.hexaqa.com/archive/corrupt-central-directory.zip"
curl -fsSL "https://files.hexaqa.com/archive/corrupt-central-directory.zip" | sha256sum
# expect: d1194edeac6e322b76436927038138a9dc8325a93fc5daed8e399df8b68ed7d5