diff --git a/bin/Duplicate_ssdeep_v2.py b/bin/Duplicate_ssdeep_v2.py index f6aaca4f..e8930c02 100755 --- a/bin/Duplicate_ssdeep_v2.py +++ b/bin/Duplicate_ssdeep_v2.py @@ -122,8 +122,8 @@ if __name__ == "__main__": #print 'comparing: ' + str(PST.p_path[44:]) + ' and ' + str(paste_path[44:]) + ' percentage: ' + str(percent) except: # ssdeep hash not comparable - print 'ssdeep hash not comparable' - publisher.error('ssdeep hash not comparable') + print 'ssdeep hash not comparable, cleaning bad hash: '+dico_hash + curr_dico_redis.srem('HASHS', dico_hash) # Add paste in DB after checking to prevent its analysis twice # hash_i -> index_i AND index_i -> PST.PATH diff --git a/pip_packages_requirement.txt b/pip_packages_requirement.txt index db2f23c5..bd734175 100644 --- a/pip_packages_requirement.txt +++ b/pip_packages_requirement.txt @@ -17,7 +17,7 @@ nltk # Hashlib crcmod mmh3 -simhash +ssdeep #Others python-magic