{"success":true,"data":{"ext":"fdb","name":"Firebird and Interbase database files","description":"The Firebird and InterBase database file format is a relational database file format developed for and maintained by the Firebird Project and Embarcadero Technologies, respectively. This format stores application data for embedded and client-server databases used in business systems, desktop applications, and legacy InterBase deployments. Because it contains structured data rather than executable content, it is generally safe to handle, though database access should still be controlled.","mime":[],"risk_level":"Safe","signatures":[{"hex":"01 00 39 30","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"46 44 42 48 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["gdb","db","dbf","mdf","accdb","mdb"],"usage":{"python":"def is_fdb(file_path: str) -> bool:\n    \"\"\"Check if file is a valid FDB by magic bytes.\"\"\"\n    signature = bytes([0x01, 0x00, 0x39, 0x30])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isFDB(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x01, 0x00, 0x39, 0x30]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsFDB(data []byte) bool {\n    signature := []byte{0x01, 0x00, 0x39, 0x30}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"},"category":"Databases"}}