{"success":true,"data":{"ext":"k9s","name":"K-9 Mailsettings file","description":"The K-9 Mailsettings file is a configuration file used by K-9 Mail, an open-source email client originally developed for Android and now maintained by the Thunderbird/K-9 Mail project. It stores account and application settings for the mail app, supporting backup, migration, and restoration of preferences. The format is generally safe and contains application data rather than executable content, though files from untrusted sources should still be reviewed.","mime":[],"risk_level":"Safe","signatures":[{"hex":"3C 6B 39 73 65 74 74 69 6E 67 73","offset":58,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_k9s(file_path: str) -> bool:\n    \"\"\"Check if file is a valid K9S by magic bytes at offset 58.\"\"\"\n    signature = bytes([0x3C, 0x6B, 0x39, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6E, 0x67, 0x73])\n    with open(file_path, \"rb\") as f:\n        f.seek(58)\n        return f.read(11) == signature","node":"function isK9S(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x3C, 0x6B, 0x39, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6E, 0x67, 0x73]);\n  if (buffer.length < 69) return false;\n  return buffer.subarray(58, 69).equals(signature);\n}","go":"func IsK9S(data []byte) bool {\n    signature := []byte{0x3C, 0x6B, 0x39, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6E, 0x67, 0x73}\n    if len(data) < 69 {\n        return false\n    }\n    return bytes.Equal(data[58:69], signature)\n}"}}}