Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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

Project description

Examine Files Documentation Status

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


  • 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


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


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.

Files for examine-files, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size examine_files-0.1.0-py2.py3-none-any.whl (4.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size examine_files-0.1.0.tar.gz (15.3 kB) File type Source Python version None Upload date Hashes View

Supported by

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