SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
sf: remove '_socks6dns' config option
Brendan Colesd2c531604b06
diff --git a/sf.py b/sf.pyindex 4c52dbb8..c178b76f 100755--- a/sf.py+++ b/sf.py@@ -80,7 +80,6 @@ sfConfig = {'_socks3port': '','_socks4user': '','_socks5pwd': '',- '_socks6dns': True,'_torctlport': 9051,'__logstdout': False}@@ -98,7 +97,6 @@ sfOptdescs = {'_socks3port': 'SOCKS Server TCP Port. Usually 1080 for 4/5, 8080 for HTTP and 9050 for TOR.','_socks4user': 'SOCKS Username. Valid only for SOCKS4 and SOCKS5 servers.','_socks5pwd': "SOCKS Password. Valid only for SOCKS5 servers.",- '_socks6dns': "Resolve DNS through the SOCKS proxy? When SOCKS/TOR is used this will always be True when resolving to fetch web content. Otherwise, all other DNS resolution goes to your configured DNS server.",'_torctlport': "The port TOR is taking control commands on. This is necessary for SpiderFoot to tell TOR to re-circuit when it suspects anonymity is compromised.",'_fatalerrors': "Abort the scan when modules encounter exceptions.",'_modulesenabled': "Modules enabled for the scan." # This is a hack to get a description for an option not actually available.diff --git a/sfscan.py b/sfscan.pyindex 98cfe149..12e7f48d 100644--- a/sfscan.py+++ b/sfscan.py@@ -133,8 +133,6 @@ class SpiderFootScanner():# If a SOCKS server was specified, set it upif self.__config['_socks1type']:- # TODO: review why socksDns is unused- # socksDns = self.__config['_socks6dns']socksAddr = self.__config['_socks2addr']socksPort = int(self.__config['_socks3port'])socksUsername = self.__config['_socks4user'] or ''