Skip to content

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

Fix fullName bug.

Steveb166b44b38b2
diff --git a/modules/sfp_fullcontact.py b/modules/sfp_fullcontact.py
index 3fd5be95..4e5982ba 100644
--- a/modules/sfp_fullcontact.py
+++ b/modules/sfp_fullcontact.py
@@ -148,6 +148,8 @@ class sfp_fullcontact(SpiderFootPlugin):
data = self.queryPerson(email=eventData)
if not data:
return None
+ if 'fullName' not in data:
+ return None
e = SpiderFootEvent("HUMAN_NAME", data['fullName'], self.__name__, event)
self.notifyListeners(e)
return
@@ -179,8 +181,9 @@ class sfp_fullcontact(SpiderFootPlugin):
if "keyPeople" in data:
for r in data['keyPeople']:
- e = SpiderFootEvent("HUMAN_NAME", r['fullName'], self.__name__, event)
- self.notifyListeners(e)
+ if 'fullName' in r:
+ e = SpiderFootEvent("HUMAN_NAME", r['fullName'], self.__name__, event)
+ self.notifyListeners(e)
# End of sfp_fullcontact class