{"success":true,"data":{"ext":"mof","name":"Windows MSinfo file","description":"Windows MSinfo file (MOF) is a Microsoft file format used by Windows and maintained by Microsoft for storing system information and configuration data. It is primarily used by the System Information utility and related administrative tools to export hardware, software, and troubleshooting details. The format is generally safe and text-based, but older .mof files may reflect legacy Windows diagnostics and should be reviewed before sharing due to contained system details.","mime":[],"risk_level":"Safe","signatures":[{"hex":"FF FE 23 00 6C 00 69 00 6E 00 65 00 20 00 31 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_mof(file_path: str) -> bool:\n    \"\"\"Check if file is a valid MOF by magic bytes.\"\"\"\n    signature = bytes([0xFF, 0xFE, 0x23, 0x00, 0x6C, 0x00, 0x69, 0x00, 0x6E, 0x00, 0x65, 0x00, 0x20, 0x00, 0x31, 0x00])\n    with open(file_path, \"rb\") as f:\n        return f.read(16) == signature","node":"function isMOF(buffer: Buffer): boolean {\n  const signature = Buffer.from([0xFF, 0xFE, 0x23, 0x00, 0x6C, 0x00, 0x69, 0x00, 0x6E, 0x00, 0x65, 0x00, 0x20, 0x00, 0x31, 0x00]);\n  return buffer.subarray(0, 16).equals(signature);\n}","go":"func IsMOF(data []byte) bool {\n    signature := []byte{0xFF, 0xFE, 0x23, 0x00, 0x6C, 0x00, 0x69, 0x00, 0x6E, 0x00, 0x65, 0x00, 0x20, 0x00, 0x31, 0x00}\n    if len(data) < 16 {\n        return false\n    }\n    return bytes.Equal(data[:16], signature)\n}"}}}