{"success":true,"data":{"ext":"zoo","name":"ZOO compressed archive","description":"ZOO compressed archive is a legacy archive format created by Rahul Dhesi and preserved today mainly by the archival community. It was used to compress and bundle files for transfer, backup, and distribution on early MS-DOS and Unix systems. Because it is an older format, support in modern software is limited, and files from untrusted sources should be handled with standard caution, as with any archived content.","mime":["application/x-zoo"],"risk_level":"Safe","signatures":[{"hex":"FD C4 A7 DC","offset":20,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]},{"hex":"5A 4F 4F","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"5A 4F 4F 20","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_zoo(file_path: str) -> bool:\n    \"\"\"Check if file is a valid ZOO by magic bytes at offset 20.\"\"\"\n    signature = bytes([0xFD, 0xC4, 0xA7, 0xDC])\n    with open(file_path, \"rb\") as f:\n        f.seek(20)\n        return f.read(4) == signature","node":"function isZOO(buffer: Buffer): boolean {\n  const signature = Buffer.from([0xFD, 0xC4, 0xA7, 0xDC]);\n  if (buffer.length < 24) return false;\n  return buffer.subarray(20, 24).equals(signature);\n}","go":"func IsZOO(data []byte) bool {\n    signature := []byte{0xFD, 0xC4, 0xA7, 0xDC}\n    if len(data) < 24 {\n        return false\n    }\n    return bytes.Equal(data[20:24], signature)\n}"}}}