mirror of https://github.com/MatrixTM/MHDDoS.git
Merge pull request #691 from MatrixTM/alert-autofix-3
Potential fix for code scanning alert no. 3: Use of insecure SSL/TLS version
This commit is contained in:
commit
47ddea7877
1
start.py
1
start.py
|
|
@ -44,6 +44,7 @@ logger.setLevel("INFO")
|
||||||
ctx: SSLContext = create_default_context(cafile=where())
|
ctx: SSLContext = create_default_context(cafile=where())
|
||||||
ctx.check_hostname = False
|
ctx.check_hostname = False
|
||||||
ctx.verify_mode = CERT_NONE
|
ctx.verify_mode = CERT_NONE
|
||||||
|
ctx.minimum_version = ctx.TLSVersion.TLSv1_2
|
||||||
|
|
||||||
__version__: str = "2.4 SNAPSHOT"
|
__version__: str = "2.4 SNAPSHOT"
|
||||||
__dir__: Path = Path(__file__).parent
|
__dir__: Path = Path(__file__).parent
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue