{"success":true,"data":{"ext":"shb","name":"SHB","description":"SHB is a legacy background file format created and maintained by Corel for Corel SHOW! 5.0 presentation software. It was used to store slide or screen background graphics for show documents and related presentations. The format is obsolete and generally safe, though files from old software may not open in modern applications without conversion because support has largely been discontinued.","mime":[],"risk_level":"Safe","signatures":[{"hex":"52 49 46 46 73 68 62 35","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":["ani","cda","cdr","cmx","ds4","mmm"],"usage":{"python":"def is_shb(file_path: str) -> bool:\n    \"\"\"Check if file is a valid SHB by magic bytes.\"\"\"\n    signature = bytes([0x52, 0x49, 0x46, 0x46, 0x73, 0x68, 0x62, 0x35])\n    with open(file_path, \"rb\") as f:\n        return f.read(8) == signature","node":"function isSHB(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x52, 0x49, 0x46, 0x46, 0x73, 0x68, 0x62, 0x35]);\n  return buffer.subarray(0, 8).equals(signature);\n}","go":"func IsSHB(data []byte) bool {\n    signature := []byte{0x52, 0x49, 0x46, 0x46, 0x73, 0x68, 0x62, 0x35}\n    if len(data) < 8 {\n        return false\n    }\n    return bytes.Equal(data[:8], signature)\n}"},"category":"Images"}}