{"success":true,"data":{"ext":"hlp","name":"Windows Help file","description":"Windows Help (HLP) is a legacy help file format developed by Microsoft for early versions of Windows. It was used to store application help content, including topic text, links, and navigation features, and was commonly opened by the Windows Help viewer and software installers. Because it is an older format replaced by later help systems, HLP files may require compatibility tools on modern Windows versions; files from untrusted sources should still be handled cautiously.","mime":["application/winhlp"],"risk_level":"Safe","signatures":[{"hex":"3F 5F","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"00 00 FF FF FF FF","offset":6,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"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_hlp(file_path: str) -> bool:\n    \"\"\"Check if file is a valid HLP by magic bytes.\"\"\"\n    signature = bytes([0x3F, 0x5F])\n    with open(file_path, \"rb\") as f:\n        return f.read(2) == signature","node":"function isHLP(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x3F, 0x5F]);\n  return buffer.subarray(0, 2).equals(signature);\n}","go":"func IsHLP(data []byte) bool {\n    signature := []byte{0x3F, 0x5F}\n    if len(data) < 2 {\n        return false\n    }\n    return bytes.Equal(data[:2], signature)\n}"}}}