Skip to content

Commit

Permalink
fix for threatcrowd (#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
malwareowl authored and nadouani committed Dec 25, 2019
1 parent 9b35265 commit 89e2c92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion analyzers/Threatcrowd/Threatcrowd.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"dataTypeList": [
"mail",
"ip",
"domain"
"domain",
"fqdn"
],
"command": "Threatcrowd/threatcrowd_analyzer.py",
"baseConfig": "Threatcrowd",
Expand Down
2 changes: 1 addition & 1 deletion analyzers/Threatcrowd/threatcrowd_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def summary(self, raw):
def run(self):
Analyzer.run(self)

if self.data_type == 'domain' or self.data_type == 'ip' or self.data_type == 'mail':
if self.data_type == 'domain' or self.data_type == 'ip' or self.data_type == 'mail' or self.data_type == 'fqdn':
threatcrowd_data_type = self.data_type if self.data_type != 'mail' else 'email'
try:
response = requests.get("{}/{}/report/".format(self.URI, threatcrowd_data_type),
Expand Down

0 comments on commit 89e2c92

Please sign in to comment.