Connecting and analyzing SQLite databases
In this section, we will review the structure of a sqlite
database and sqlite3
as a Python module for connecting and tools for recovering content from this database.
SQLite databases
SQLite (http://www.sqlite.org) is a lightweight database that does not require any servers to be installed or configured. For this reason, it is often used as a prototyping and development database where the database is in a single file.
To access the data stored in these files, you can use specific tools such as a browser for SQLite (http://sqlitebrowser.org). SQLite Browser is a tool that can help during the process of analyzing the extracted data, while the Browse Data tab allows you to see the information present in different tables within the sqlite
files.
In the following GitHub repository, we can find an example of a sqlite
database: https://github.com/jpwhite3/northwind-SQLite3. In the following screenshot, we can see the SQLite database structure...