pyimpfuzzy
Python module for comparing the impfuzzy
pyimpfuzzy is python module which calculate and compare the impfuzzy(import fuzzy hashing)
More details are described in the following documents:
https://www.jpcert.or.jp/magazine/acreport-impfuzzy.html (Japanese)
http://blog.jpcert.or.jp/2016/05/classifying-mal-a988.html (English)
Requirements
pyimpfuzzy requires the following modules:
- pefile 1.2.10-139 or later
- ssdeep http://ssdeep.sourceforge.net
Installation
$ pip install pyimpfuzzy
or
$ sudo python setup.py install
Usage
- get_impfuzzy - return the impfuzzy hash for a given file
- get_impfuzzy_data - return the impfuzzy hash for a buffer
- hash_compare - return the match between 2 hashes
Example Usage
import pyimpfuzzy
import sys
hash1 = pyimpfuzzy.get_impfuzzy(sys.argv[1])
hash2 = pyimpfuzzy.get_impfuzzy(sys.argv[2])
print("ImpFuzzy1: %s" % hash1)
print("ImpFuzzy2: %s" % hash2)
print("Compare: %i" % pyimpfuzzy.hash_compare(hash1, hash2))
Metadata
Release files for pyimpfuzzy 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyimpfuzzy-0.5.tar.gz | 3.1 kB | Without provenance | Details for pyimpfuzzy-0.5.tar.gz |
Release files / pyimpfuzzy-0.5.tar.gz
| Download URL | pyimpfuzzy-0.5.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da9796df302db4b04a197128637f84988f1882f1e08fdd69bbf9fdc6cfbaf349
|
|
BLAKE2b-256 checksum How to use checksums |
87bd552292946148a8300fcbca597f2acaf060a8e76d75219a3f4d0201178c1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyimpfuzzy 0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.