{"success":true,"data":{"ext":"wp61","name":"WP61","description":"WordPerfect 6.1 (WP61) is a legacy word-processing document format developed by WordPerfect Corporation and later maintained by Corel as part of the WordPerfect family. It was used for creating letters, reports, legal documents, and other formatted text files in desktop publishing and office workflows. The format is considered safe, though as an older proprietary document type it may require compatibility software for reliable opening and conversion.","mime":["application/vnd.wordperfect"],"risk_level":"Safe","signatures":[{"hex":"61 70 70 6C 69 63 61 74 69 6F 6E 2F 76 6E 64 2E 77 6F 72 64 70 65 72 66 65 63 74 3B","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"}]},{"hex":"FF 57 50 43","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":["w60","wpt","wp","wp5","wp6","wpd"],"usage":{"python":"def is_wp61(file_path: str) -> bool:\n    \"\"\"Check if file is a valid WP61 by magic bytes.\"\"\"\n    signature = bytes([0x61, 0x70, 0x70, 0x6C, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x2F, 0x76, 0x6E, 0x64, 0x2E, 0x77, 0x6F, 0x72, 0x64, 0x70, 0x65, 0x72, 0x66, 0x65, 0x63, 0x74, 0x3B])\n    with open(file_path, \"rb\") as f:\n        return f.read(28) == signature","node":"function isWP61(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x61, 0x70, 0x70, 0x6C, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x2F, 0x76, 0x6E, 0x64, 0x2E, 0x77, 0x6F, 0x72, 0x64, 0x70, 0x65, 0x72, 0x66, 0x65, 0x63, 0x74, 0x3B]);\n  return buffer.subarray(0, 28).equals(signature);\n}","go":"func IsWP61(data []byte) bool {\n    signature := []byte{0x61, 0x70, 0x70, 0x6C, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x2F, 0x76, 0x6E, 0x64, 0x2E, 0x77, 0x6F, 0x72, 0x64, 0x70, 0x65, 0x72, 0x66, 0x65, 0x63, 0x74, 0x3B}\n    if len(data) < 28 {\n        return false\n    }\n    return bytes.Equal(data[:28], signature)\n}"}}}