Skip to content

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

Removed option to obtain e-mail addresses from external domains.

Stevefb48fc7c6d5e
diff --git a/modules/sfp_email.py b/modules/sfp_email.py
index 669e3e1a..b34c0a19 100644
--- a/modules/sfp_email.py
+++ b/modules/sfp_email.py
@@ -21,12 +21,10 @@ class sfp_email(SpiderFootPlugin):
# Default options
opts = {
# options specific to this module
- 'includeexternal': False # Include e-mail addrs on external domains
}
# Option descriptions
optdescs = {
- 'includeexternal': "Report e-mail addresses not on the target base domain-name?"
}
def setup(self, sfc, userOpts=dict()):
@@ -75,8 +73,7 @@ class sfp_email(SpiderFootPlugin):
# Get the doain and strip potential ending .
mailDom = match.lower().split('@')[1].strip('.')
- if not self.opts['includeexternal'] and not \
- self.getTarget().matches(mailDom):
+ if not self.getTarget().matches(mailDom):
self.sf.debug("Ignoring e-mail address on an external domain: " + match)
continue