This chapter focused on the use of databases in script development. We explored how to use and manipulate a SQLite database in Python to store and retrieve information about file listings. We discussed how and when a database might be the correct solution to store this information as it has a fixed data structure and could be a large dataset.
In addition, we discussed multiple methods of interacting with databases, a manual process to show how databases work at a lower level, and a more Pythonic example where a third-party module handles those low-level interactions for us. We also explored a new type of report, using HTML to create a different output that can be viewed without additional software, and manipulated to add new styles and functionality as seen fit. Overall, this section builds on the underlying goal of demonstrating different ways we can use Python and supporting libraries to solve forensic challenges. The code bundle for this chapter can be downloaded from https://packtpub...