dissect.database.bsd

Subpackages

Submodules

Package Contents

Classes

DB

Berkeley DB.

class dissect.database.bsd.DB(fh: BinaryIO)

Berkeley DB.

Parameters:

fh – File-like object containing the Berkeley DB data.

fh
page_size
page
property is_btree: bool

Return whether the database of a DB_BTREE type.

property is_recno: bool

Return whether the database is a DB_RECNO type.

property is_hash: bool

Return whether the database is a DB_HASH type.

records() collections.abc.Iterator[tuple[bytes | int, bytes]]

Iterate over all records in the database.