Skip to content

Commit

Permalink
#56 better wording
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Jun 29, 2017
1 parent 394fcad commit 337d955
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 49 deletions.
10 changes: 5 additions & 5 deletions analyzers/Virusshare/virusshare.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ def summary(self, raw):
level = "safe"
namespace = "Virusshare"
predicate = "Search"
value = "\"0\""
value = "\"Unknown\""

if raw["isonvs"]:
if raw["isonvs"] == "unknown":
value = "\"{}\"".format("Not MD5")
if raw["isonvs"] == "Unknown":
value = "\"Not MD5\""
level = "suspicious"
else:
value "\"{}\"".format("Found")
value = "\"Found\""
level = "malicious"
else:
value = "\"{}\"".format("Not found")
value = "\"Not Found\""

taxonomies.append(self.build_taxonomy(level, namespace, predicate, value))
return {'taxonomies': taxonomies}
Expand Down
43 changes: 0 additions & 43 deletions thehive-templates/MISP_Search_1_1/long.html

This file was deleted.

1 change: 0 additions & 1 deletion thehive-templates/MISP_Search_1_1/short.html

This file was deleted.

0 comments on commit 337d955

Please sign in to comment.