Skip to content

Commit

Permalink
we want the lowest supported TLS version possible
Browse files Browse the repository at this point in the history
  • Loading branch information
hannob committed Apr 27, 2023
1 parent ebe4007 commit 4c5a9b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion snallygaster
Expand Up @@ -16,6 +16,7 @@ import socket
import urllib.parse
import warnings
import json
import ssl

import bs4
import dns.resolver
Expand Down Expand Up @@ -968,7 +969,7 @@ user_agent = {'user-agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/2010
if args.useragent:
user_agent = {'user-agent': args.useragent}
pool = urllib3.PoolManager(10, headers=user_agent, cert_reqs='CERT_NONE', # noqa: DUO132
retries=False, timeout=2)
retries=False, timeout=2, ssl_minimum_version=ssl.TLSVersion.SSLv3)

# This is necessary for directory traversal attacks like citrix_cve
urllib3.util.url.NORMALIZABLE_SCHEMES = ()
Expand Down

0 comments on commit 4c5a9b5

Please sign in to comment.