domtools
Raphaël Vinot 2016-12-01 16:44:29 +01:00
parent 17205a1913
commit 0f8fa4aaec
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class DomainTools(object):
to_return.append({'type': 'whois-creation-date', 'values': [date], 'comment': comment or ''}) to_return.append({'type': 'whois-creation-date', 'values': [date], 'comment': comment or ''})
if self.domain_ip: if self.domain_ip:
for ip, comment in self.domain_ip.items(): for ip, comment in self.domain_ip.items():
to_return.append({'types': ['dst-ip', 'src-ip'], 'values': [ip], 'comment': comment or ''}) to_return.append({'types': ['ip-dst', 'ip-src'], 'values': [ip], 'comment': comment or ''})
if self.freetext: if self.freetext:
to_return.append({'type': 'freetext', 'values': [self.freetext], 'comment': 'Freetext import'}) to_return.append({'type': 'freetext', 'values': [self.freetext], 'comment': 'Freetext import'})
if self.risk: if self.risk: