mirror of https://github.com/MatrixTM/MHDDoS.git
Potential fix for code scanning alert no. 3: Use of insecure SSL/TLS version
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
parent
8dc44b700f
commit
18ff6dc557
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