Closed talelbaz closed 2 years ago
Which dnstwist version?
Version 20220131 with python 3.9
Did you install the tool using brew with all dependencies including ssdeep or the latter was installed in some other way? It seems like the Python wrapper for ssdeep is returning TypeError
here.
File "ssdeep.pyx", line 39, in ssdeep.compare (ssdeep.c:695)
I am working with the python package, I installed the package for the dnstwist for the version above.(pip3 install dnstwist)
pip3 install dnstwist
pulls ppdeep=20200505 which is pure Python implementation of ssdeep, but the tool itself prefers ssdeep over ppdeep. It looks like you must have installed ssdeep. Could you please run Python interpreter with the following code?
import ssdeep
ssdeep.__version__
ssdeep.compare('3::', '3::')
Traceback (most recent call last):
File "/xxx.py", line 3, in
ssdeep.version = 2.5
Your ssdeep.version
is ancient - originally released in 2010. Try upgrading to ssdeep 3.1
thx!
Exception in thread Thread-9: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 973, in _bootstrap_inner self.run() File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/dnstwist.py", line 786, in run task['ssdeep'] = ssdeep.compare(self.ssdeep_init, ssdeep_curr) File "ssdeep.pyx", line 39, in ssdeep.compare (ssdeep.c:695) TypeError: expected bytes, str found