ブックマーク / www.bamsoftware.com (1)

  • A better zip bomb

    Compression bombs that use the zip format must cope with the fact that DEFLATE, the compression algorithm most commonly supported by zip parsers, cannot achieve a compression ratio greater than 1032. For this reason, zip bombs typically rely on recursive decompression, nesting zip files within zip files to get an extra factor of 1032 with each layer. But the trick only works on implementations tha

    advancedbear
    advancedbear 2019/07/19
    non-recursive zip bomb = 非再帰的ZIP爆弾。ソースコードと解説付きで仕組みが大変わかりやすい。
  • 1