Skip to content

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

SOCKS/TOR bug fix.

smicallef24d651fd4f8f
diff --git a/requirements.txt b/requirements.txt
index 2cf66527..51951ad8 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -6,6 +6,7 @@ Mako>=1.0.4
beautifulsoup4>=4.4.1
lxml>=3.4.4
netaddr>=0.7.18
+pysocks>=1.7.1
requests>=2.20.0
ipwhois==1.0.0
ipaddr>=2.2.0
diff --git a/sfscan.py b/sfscan.py
index 2cf2a94c..84e2f367 100644
--- a/sfscan.py
+++ b/sfscan.py
@@ -111,7 +111,7 @@ class SpiderFootScanner(threading.Thread):
creds = ""
if socksUsername and socksPassword:
creds = socksUsername + ":" + socksPassword + "@"
- proxy = creds + socksAddr + ":" + socksPort
+ proxy = creds + socksAddr + ":" + str(socksPort)
if self.ts.config['_socks1type'] == '4':
proxy = 'socks4://' + proxy