{"success":true,"data":{"ext":"gid","name":"Windows Help index file","description":"Windows Help index file (GID) is a legacy index file format associated with Microsoft Windows Help and maintained as part of the Windows help system. It was used to support indexed searching and navigation within compiled help files and related help viewers. The format is largely obsolete today and is generally safe, though it may appear in older software installations or archived documentation.","mime":[],"risk_level":"Safe","signatures":[{"hex":"3F 5F 03 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"4C 4E 02 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_gid(file_path: str) -> bool:\n    \"\"\"Check if file is a valid GID by magic bytes.\"\"\"\n    signature = bytes([0x3F, 0x5F, 0x03, 0x00])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isGID(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x3F, 0x5F, 0x03, 0x00]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsGID(data []byte) bool {\n    signature := []byte{0x3F, 0x5F, 0x03, 0x00}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}