Skip to content

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

Bug fix

smicallefc43c9d83ce9d
diff --git a/modules/sfp_email.py b/modules/sfp_email.py
index 5a0ba6b9..06cfd3c7 100644
--- a/modules/sfp_email.py
+++ b/modules/sfp_email.py
@@ -74,8 +74,9 @@ class sfp_email(SpiderFootPlugin):
if eventName.startswith("AFFILIATE_"):
evttype = "AFFILIATE_EMAILADDR"
else:
- if email.split("@")[0] in self.opts['_genericusers'].split(","):
- evttype = "EMAILADDR_GENERIC"
+
+ if not evttype.startswith("AFFILIATE_") and email.split("@")[0] in self.opts['_genericusers'].split(","):
+ evttype = "EMAILADDR_GENERIC"
self.sf.info("Found e-mail address: " + email)
mail = email.strip('.')