/usr/lib/python3/dist-packages/tlsh-0.2.0.egg-info is in python3-tlsh 3.4.4+20151206-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | Metadata-Version: 1.0
Name: tlsh
Version: 0.2.0
Summary: TLSH (C++ version)
Home-page: UNKNOWN
Author: Chun Cheng
Author-email: UNKNOWN
License: UNKNOWN
Description: A C++ extension for TLSH
Usage:
import tlsh
h1 = tlsh.hash(data)
h2 = tlsh.hash(similar_data)
score = tlsh.diff(h1, h2)
h3 = tlsh.Tlsh()
with open('file', 'rb') as f:
for buf in iter(lambda: f.read(512), b''):
h3.update(buf)
h3.final()
assert h3.diff(h) == 0
score = h3.diff(h1)
Platform: UNKNOWN
|