Skip to content

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

More abort friendly..

smicallef41beb357abfe
diff --git a/modules/sfp_dns.py b/modules/sfp_dns.py
index 0a62699b..ca76a678 100644
--- a/modules/sfp_dns.py
+++ b/modules/sfp_dns.py
@@ -164,6 +164,9 @@ class sfp_dns(SpiderFootPlugin):
sf.debug("Iterating through possible sub-domains [" + str(self.opts['commonsubs']) + "]")
# Try resolving common names
for sub in self.opts['commonsubs']:
+ if self.checkForStop():
+ return None
+
name = sub + "." + self.baseDomain
try:
addrs = socket.gethostbyname_ex(name)