Skip to content

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

Bug fix reporting incorrect affiliate e-mail addresses.

Steve Micalleff183c396466c
diff --git a/modules/sfp_email.py b/modules/sfp_email.py
index f0c77ae8..814719dc 100644
--- a/modules/sfp_email.py
+++ b/modules/sfp_email.py
@@ -93,7 +93,7 @@ class sfp_email(SpiderFootPlugin):
# Get the domain and strip potential ending .
mailDom = match.lower().split('@')[1].strip('.')
- if not self.getTarget().matches(mailDom):
+ if not self.getTarget().matches(mailDom) and not self.getTarget().matches(match):
self.sf.debug("External domain, so possible affiliate e-mail")
# Raw RIR data returning external e-mails generates way
# too much noise.