{"success":true,"data":{"ext":"ost","name":"OST","description":"Outlook Offline Storage Table (OST) is a data file format developed and maintained by Microsoft for Microsoft Outlook. It is used to store a synchronized offline copy of mailbox content, including email, calendar items, contacts, and other Outlook data, particularly in Exchange and Microsoft 365 environments. OST files are generally safe to open in Outlook, but they are tied to a specific account and can become inaccessible if the profile or server connection changes.","mime":["application/vnd.ms-outlook-pst"],"risk_level":"Safe","signatures":[{"hex":"21 42 44 4E 2E 2E 2E 2E 53 4D","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]}],"related":["pst","mbox","msg","dbx","dci","eml"],"usage":{"python":"def is_ost(file_path: str) -> bool:\n    \"\"\"Check if file is a valid OST by magic bytes.\"\"\"\n    signature = bytes([0x21, 0x42, 0x44, 0x4E, 0x2E, 0x2E, 0x2E, 0x2E, 0x53, 0x4D])\n    with open(file_path, \"rb\") as f:\n        return f.read(10) == signature","node":"function isOST(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x21, 0x42, 0x44, 0x4E, 0x2E, 0x2E, 0x2E, 0x2E, 0x53, 0x4D]);\n  return buffer.subarray(0, 10).equals(signature);\n}","go":"func IsOST(data []byte) bool {\n    signature := []byte{0x21, 0x42, 0x44, 0x4E, 0x2E, 0x2E, 0x2E, 0x2E, 0x53, 0x4D}\n    if len(data) < 10 {\n        return false\n    }\n    return bytes.Equal(data[:10], signature)\n}"},"category":"Email & PIM"}}