Skip to content

python bindings for kornblum's ssdeep fuzzy hasher

Notifications You must be signed in to change notification settings

paralax/pyssdeep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

ssdeep was written by Jesse Kornblum. this is a set of python bindings for it.

the python bindings work with ssdeep 2.0-2.2.

Example

from ssdeep import ssdeep
s = ssdeep()
# basic hash generation
for i in sys.argv[1:]:
    print '%s %20s' % (i, s.hash_file(i))

h1 = s.hash_file('test.py')
h2 = s.hash_file('setup.py')
print s.compare(h1, h2)
print s.compare(h1, h1)

Requirements

Installation

  1. get pyssdeep here
  2. unpack ssdeep
  3. unpack pyssdeep under ssdeep (e.g. ssdeep-2.2/pyssdeep )
  4. build ssdeep; install ssdeep; on linux you may have to rerun ldconfig to register libfuzzy
  5. build pyssdeep: make; sudo make install

About

python bindings for kornblum's ssdeep fuzzy hasher

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published