Skip to content

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

Unnecessary SSL context set.

smicallefcbc109bec5c7
diff --git a/sflib.py b/sflib.py
index 814f01ce..02604022 100644
--- a/sflib.py
+++ b/sflib.py
@@ -78,7 +78,7 @@ class SpiderFoot:
if val.lower().startswith('http://') or val.lower().startswith('https://'):
try:
self.info("Downloading configuration data from: " + val)
- res = urllib2.urlopen(val, context=ssl._create_unverified_context())
+ res = urllib2.urlopen(val)
data = res.read()
if splitLines:
return data.splitlines()