{"success":true,"data":{"ext":"dax","name":"DAX Compressed CD image","description":"DAX is a compressed CD image format used in the PlayStation Portable homebrew ecosystem and supported by third-party disc-image utilities. It is used to store and distribute optical disc contents in a reduced-size form for backup, testing, and loading in compatible emulators or modified devices. The format is generally safe, though, like other disk images, it should be opened only with trusted software; it is largely a legacy format today.","mime":[],"risk_level":"Safe","signatures":[{"hex":"44 41 58 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"46 4F 52 4D 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_dax(file_path: str) -> bool:\n    \"\"\"Check if file is a valid DAX by magic bytes.\"\"\"\n    signature = bytes([0x44, 0x41, 0x58, 0x00])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isDAX(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x44, 0x41, 0x58, 0x00]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsDAX(data []byte) bool {\n    signature := []byte{0x44, 0x41, 0x58, 0x00}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}