Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Bug fix for Onyphe.

smicallef77fb9b14854f
diff --git a/modules/sfp_onyphe.py b/modules/sfp_onyphe.py
index 441cd86d..aaad7bfc 100644
--- a/modules/sfp_onyphe.py
+++ b/modules/sfp_onyphe.py
@@ -178,8 +178,11 @@ class sfp_onyphe(SpiderFootPlugin):
def emitDomainData(self, response, eventData, event):
domains = set()
- if response.get("domain") is not None:
- domains.add(response["domain"])
+ if response.get("domain") is not None and isinstance(
+ response['domain'], list
+ ):
+ for dom in response['domain']:
+ domains.add(dom)
if response.get("subdomains") is not None and isinstance(
response["subdomains"], list