{"success":true,"data":{"ext":"shd","name":"Windows Server 2003 printer spool file","description":"A Windows Server 2003 printer spool file is a legacy print job data format created and maintained by Microsoft for the Windows printing subsystem. It is used by printer drivers and spooler services to store queued print output, temporary job information, and related metadata during printing. Because it is tied to older Windows versions, the format is largely obsolete, and files should be handled cautiously if received from untrusted or unknown systems.","mime":[],"risk_level":"Safe","signatures":[{"hex":"4B 49 00 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"66 49 00 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"67 49 00 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"68 49 00 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_shd(file_path: str) -> bool:\n    \"\"\"Check if file is a valid SHD by magic bytes.\"\"\"\n    signature = bytes([0x4B, 0x49, 0x00, 0x00])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isSHD(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x4B, 0x49, 0x00, 0x00]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsSHD(data []byte) bool {\n    signature := []byte{0x4B, 0x49, 0x00, 0x00}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}