Merge branch 'master' of github.com:adulau/MalwareClassifier

This commit is contained in:
Alexandre Dulaunoy 2017-01-27 21:05:57 +01:00
commit e19703ad8b

View file

@ -25,6 +25,7 @@ if args.f is not None:
for element in elements:
try:
r.sadd('e:'+fields[i], element)
r.zincrby('t:'+fields[i], element)
#
ehash = hashlib.md5()
ehash.update(element.encode('utf-8'))