Expand description
Backend database access (SQLite read-only queries).
Structs§
- DbCandidate
- A discovered database candidate with the metadata needed to disambiguate which DB the application actually uses.
Functions§
- classify_
databases - Classify every database discovered under
dirs, returning application candidates first (non-WebView, largest by size — the substantial app DB outranks incidental ones) andWebViewinternals last. De-duplicates paths discovered via overlapping roots. - discover_
databases - Discover
SQLitedatabase files in a directory (non-recursive, max depth 2). - is_
webview_ internal - Whether a discovered database path is a
WebView/browser-engine internal store rather than the application’s own database (audit / red-team “wrong DB” finding). - query
- Execute a read-only SQL query against a
SQLitedatabase. - select_
app_ database - Select the single most likely application database from
dirs, excludingWebViewinternals.