mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 00:28:22 +00:00
Clean not compatible ssdeep hash encountered
This commit is contained in:
parent
f125a62115
commit
c686f69ca6
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue