mirror of
https://github.com/adulau/MalwareClassifier.git
synced 2025-06-19 15:17:09 +00:00
Add counter on fields
This commit is contained in:
parent
5ef2a49702
commit
5106f89bc9
1 changed files with 1 additions and 0 deletions
|
@ -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'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue