Skip to content

Commit

Permalink
Implemented better fix so the templates are not affected. :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin van Niekerk authored and Colin van Niekerk committed Aug 25, 2017
1 parent 58c1e1c commit 359bdd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions analyzers/Virusshare/virusshare.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def summary(self, raw):
value = "\"Unknown\""

if raw["isonvs"]:
if raw["isonvs"] == "Unknown":
if raw["isonvs"] == "unknown":
value = "\"Not MD5\""
level = "suspicious"
else:
Expand All @@ -45,7 +45,7 @@ def run(self):
if self.data_type == 'hash':
searchhash = self.getData()
if len(searchhash) != 32:
self.report({'isonvs': 'Unknown',
self.report({'isonvs': 'unknown',
'hash': searchhash})
elif self.data_type == 'file':
filepath = self.getParam('file')
Expand Down

0 comments on commit 359bdd4

Please sign in to comment.