{"success":true,"data":{"ext":"zap","name":"ZoneAlam data file","description":"ZoneAlam data file (ZAP) is a proprietary data file format developed and maintained by ZoneAlam for storing application-specific data. It is used by ZoneAlam software for configuration, records, and other internal data associated with its workflows. The format is generally considered safe; however, as with any application data file, it should be opened only with trusted software, and older files may reflect legacy implementation details.","mime":[],"risk_level":"Safe","signatures":[{"hex":"4D 5A 90 00 03 00 00 00 04 00 00 00 FF FF","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["api"],"usage":{"python":"def is_zap(file_path: str) -> bool:\n    \"\"\"Check if file is a valid ZAP by magic bytes.\"\"\"\n    signature = bytes([0x4D, 0x5A, 0x90, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0xFF, 0xFF])\n    with open(file_path, \"rb\") as f:\n        return f.read(14) == signature","node":"function isZAP(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x4D, 0x5A, 0x90, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0xFF, 0xFF]);\n  return buffer.subarray(0, 14).equals(signature);\n}","go":"func IsZAP(data []byte) bool {\n    signature := []byte{0x4D, 0x5A, 0x90, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0xFF, 0xFF}\n    if len(data) < 14 {\n        return false\n    }\n    return bytes.Equal(data[:14], signature)\n}"}}}