Checks to see if magic number contents of files match extensions. Mostly a CTF tool.
Project description
Examine Files
Checks to see if magic number contents of files match extensions. Mostly a CTF tool.
Free software: MIT license
Documentation: https://examine-files.readthedocs.io.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file examine_files-0.1.0.tar.gz
.
File metadata
- Download URL: examine_files-0.1.0.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e604226a95dc0041d50d0df0560337956b2a47fc4755cf8a3b1e0e0fba487847 |
|
MD5 | c901fd74a09fff21d610f78e14e568a7 |
|
BLAKE2b-256 | 2255ecb382c98125d76118f92ab2413610f17b0d5788db015a8dde8cf4bdeb33 |
File details
Details for the file examine_files-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: examine_files-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a18bfb92b7ce8fcfc3ec12dd017b18c9e712954a57a9d3cb17547bac761963e |
|
MD5 | 26598cbdd4898e148a383192138e4830 |
|
BLAKE2b-256 | b476c3b3e94e0f42d6164a64f5c05ef3f8ac0ecbfbeaf0717a8c1fba04065fa9 |