{"success":true,"data":{"ext":"sqlitedb","name":"SQLITEDB","description":"SQLITEDB is a database file format based on SQLite, a lightweight relational database engine created by D. Richard Hipp and maintained by the SQLite project. It is used by applications to store structured data locally, including application settings, caches, records, and mobile or desktop app content. The format is generally safe, though database integrity depends on proper handling; older files may be encountered in legacy applications or backups.","mime":[],"risk_level":"Safe","signatures":[{"hex":"53 51 4C 69 74 65 20 66","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"6F 72 6D 61 74 20 33 00","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":["db","gpkg","sqlite"],"usage":{"python":"def is_sqlitedb(file_path: str) -> bool:\n    \"\"\"Check if file is a valid SQLITEDB by magic bytes.\"\"\"\n    signature = bytes([0x53, 0x51, 0x4C, 0x69, 0x74, 0x65, 0x20, 0x66])\n    with open(file_path, \"rb\") as f:\n        return f.read(8) == signature","node":"function isSQLITEDB(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x53, 0x51, 0x4C, 0x69, 0x74, 0x65, 0x20, 0x66]);\n  return buffer.subarray(0, 8).equals(signature);\n}","go":"func IsSQLITEDB(data []byte) bool {\n    signature := []byte{0x53, 0x51, 0x4C, 0x69, 0x74, 0x65, 0x20, 0x66}\n    if len(data) < 8 {\n        return false\n    }\n    return bytes.Equal(data[:8], signature)\n}"},"category":"Databases"}}