{"success":true,"data":{"ext":"pst","name":"OutlookPersonalStorage","description":"Outlook Personal Storage Table (PST) is a data file format created and maintained by Microsoft for use with Microsoft Outlook. It stores email messages, calendars, contacts, tasks, notes, and other mailbox data for local archiving, backup, and transfer between Outlook installations. PST files are generally safe to open, though large or corrupted archives can be difficult to recover, and older ANSI-based PST variants are a legacy format with size limitations.","mime":["application/vnd.ms-outlook-pst"],"risk_level":"Safe","signatures":[{"hex":"21 42 44 4E","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"},{"name":"Neil Harvey FileSignatures","url":"https://raw.githubusercontent.com/neilharvey/FileSignatures/master/src/FileSignatures/Formats/OutlookPersonalStorage.cs"}]},{"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":["ost","mbox","msg","dbx","dci","eml"],"usage":{"python":"def is_pst(file_path: str) -> bool:\n    \"\"\"Check if file is a valid PST by magic bytes.\"\"\"\n    signature = bytes([0x21, 0x42, 0x44, 0x4E])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isPST(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x21, 0x42, 0x44, 0x4E]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsPST(data []byte) bool {\n    signature := []byte{0x21, 0x42, 0x44, 0x4E}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"},"category":"Email & PIM"}}