{"success":true,"data":{"ext":"ctf","name":"WhereIsIt Catalog file","description":"WhereIsIt Catalog file is a catalog database format created for the WhereIsIt application, a Windows media and archive cataloging tool developed by Robert Šacha. It is used to index the contents of disks, removable media, and archived collections for searching, browsing, and inventory management. The format is generally considered safe, though older catalog files may reflect legacy software environments and should be opened with compatible readers.","mime":[],"risk_level":"Safe","signatures":[{"hex":"43 61 74 61 6C 6F 67 20 33 2E 30 30 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_ctf(file_path: str) -> bool:\n    \"\"\"Check if file is a valid CTF by magic bytes.\"\"\"\n    signature = bytes([0x43, 0x61, 0x74, 0x61, 0x6C, 0x6F, 0x67, 0x20, 0x33, 0x2E, 0x30, 0x30, 0x00])\n    with open(file_path, \"rb\") as f:\n        return f.read(13) == signature","node":"function isCTF(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x43, 0x61, 0x74, 0x61, 0x6C, 0x6F, 0x67, 0x20, 0x33, 0x2E, 0x30, 0x30, 0x00]);\n  return buffer.subarray(0, 13).equals(signature);\n}","go":"func IsCTF(data []byte) bool {\n    signature := []byte{0x43, 0x61, 0x74, 0x61, 0x6C, 0x6F, 0x67, 0x20, 0x33, 0x2E, 0x30, 0x30, 0x00}\n    if len(data) < 13 {\n        return false\n    }\n    return bytes.Equal(data[:13], signature)\n}"}}}