Skip to content

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

Handle parsing issues.

smicallef74121cfb6563
diff --git a/modules/sfp_peegeepee.py b/modules/sfp_peegeepee.py
index 3aa339ba..481a9bf2 100644
--- a/modules/sfp_peegeepee.py
+++ b/modules/sfp_peegeepee.py
@@ -131,7 +131,7 @@ class sfp_peegeepee(SpiderFootPlugin):
self.sf.debug("Received event, " + eventName + ", from " + srcModuleName)
if srcModuleName == 'sfp_peegeepee':
- self.sf.debug("Ignoring " + eventName + ", from self.")
+ self.sf.debug("Ignoring " + eventData + ", from self.")
return None
if eventData in self.results:
@@ -158,7 +158,10 @@ class sfp_peegeepee(SpiderFootPlugin):
# Get e-mail addresses on this domain
if eventName == 'DOMAIN_NAME' or eventName == 'INTERNET_NAME':
- mailDom = email.lower().split('@')[1]
+ try:
+ mailDom = email.lower().split('@')[1]
+ except IndexError:
+ continue
if not self.getTarget().matches(mailDom):
continue