Skip to main content

Checks to see if magic number contents of files match extensions. Mostly a CTF tool.

Project description

Examine Files

https://img.shields.io/pypi/v/examine_files.svg https://img.shields.io/travis/hobnobpirate/examine_files.svg Documentation Status

Checks to see if magic number contents of files match extensions. Mostly a CTF tool.

Features

  • Utilizes libmagic to analyze file type

  • Compares analyzed file type with expected type based on file extension

  • Prints report of matches, mismatches, and unknown status

  • Accepts custom whitelist or utilizes built-in default for demonstration only

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

The core functionality for this script relies on python-magic by Adam Hupp. For installation questions outside of Linux (or the provided docker container), please see https://github.com/ahupp/python-magic.

History

0.1.0 (2019-06-08)

  • First release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

examine_files-0.1.0.tar.gz (15.3 kB view hashes)

Uploaded Source

Built Distribution

examine_files-0.1.0-py2.py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page