Skip to main content

pyimpfuzzy-windows

Python module comparing the impfuzzy for Windows
pyimpfuzzy-windows is python module which calculate and compare the impfuzzy(import fuzzy hashing)
This module is pyimpfuzzy for Windows version. For Linux and Mac OS users, please use pyimpfuzzy.

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-windows requires the following modules:

  • pefile 1.2.10-139 or later

Installation

$ pip install pyimpfuzzy-windows

or

$ 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))

Notes

This module includes fuzzy.dll version 2.14.1.

Download files

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

Source Distribution

pyimpfuzzy-windows-0.1.tar.gz (40.2 kB view details)

Uploaded Source

File details

Details for the file pyimpfuzzy-windows-0.1.tar.gz.

File metadata

File hashes

Hashes for pyimpfuzzy-windows-0.1.tar.gz
Algorithm Hash digest
SHA256 0a62478ca9b71ab271f48218c50a763a12e3554a8ab2a7e632a645252a9f3804
MD5 5e9f2a2f41f13799996a7d73b22c4203
BLAKE2b-256 a1cef31f1ef0862a1b790601097006ad48449993ccf33e297865345ecda62538

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page