O'Reilly logo

Python Forensics by Chet Hosmer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3

Our First Python Forensics App

Abstract

This chapter contains the first in a series of cookbook examples, which is about file system hashing. I will take a deep dive into the development of a Python forensic application along with the considerations necessary to build quality forensic tools.

I will examine several one-way cryptographic algorithms and use them to perform file system hashing. I have exclusively utilized the Python Standard Library and my own innovation to create a fully functional program that runs both on Windows and Linux platforms. I also utilize and explain the argparse, csv, logging, and os.walk modules and use them as key elements of this first Python Forensic application.

Keywords

One-way hashing

sha256

sha512 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required