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 py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page