mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-13 01:58:22 +00:00
Merge branch 'uptodate-duplicate-module' into production
This commit is contained in:
commit
34a00abdc2
2 changed files with 3 additions and 3 deletions
|
@ -122,8 +122,8 @@ if __name__ == "__main__":
|
||||||
#print 'comparing: ' + str(PST.p_path[44:]) + ' and ' + str(paste_path[44:]) + ' percentage: ' + str(percent)
|
#print 'comparing: ' + str(PST.p_path[44:]) + ' and ' + str(paste_path[44:]) + ' percentage: ' + str(percent)
|
||||||
except:
|
except:
|
||||||
# ssdeep hash not comparable
|
# ssdeep hash not comparable
|
||||||
print 'ssdeep hash not comparable'
|
print 'ssdeep hash not comparable, cleaning bad hash: '+dico_hash
|
||||||
publisher.error('ssdeep hash not comparable')
|
curr_dico_redis.srem('HASHS', dico_hash)
|
||||||
|
|
||||||
# Add paste in DB after checking to prevent its analysis twice
|
# Add paste in DB after checking to prevent its analysis twice
|
||||||
# hash_i -> index_i AND index_i -> PST.PATH
|
# hash_i -> index_i AND index_i -> PST.PATH
|
||||||
|
|
|
@ -17,7 +17,7 @@ nltk
|
||||||
# Hashlib
|
# Hashlib
|
||||||
crcmod
|
crcmod
|
||||||
mmh3
|
mmh3
|
||||||
simhash
|
ssdeep
|
||||||
|
|
||||||
#Others
|
#Others
|
||||||
python-magic
|
python-magic
|
||||||
|
|
Loading…
Reference in a new issue