{"success":true,"data":{"ext":"cdb","name":"CDB","description":"CDB is the WinBox connection database format used by MikroTik RouterOS and maintained as part of the WinBox management environment. It stores saved router connections, including addresses and login-related settings, for use in the WinBox client and related administration workflows. The format is generally safe because it is data-only, though users should treat imported connection files with caution if they come from untrusted sources.","mime":[],"risk_level":"Safe","signatures":[{"hex":"0D F0 1D C0","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":[],"usage":{"python":"def is_cdb(file_path: str) -> bool:\n    \"\"\"Check if file is a valid CDB by magic bytes.\"\"\"\n    signature = bytes([0x0D, 0xF0, 0x1D, 0xC0])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isCDB(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x0D, 0xF0, 0x1D, 0xC0]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsCDB(data []byte) bool {\n    signature := []byte{0x0D, 0xF0, 0x1D, 0xC0}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}