From 7738972d3f6f99c4d21c53e92e9d4f13fc588a71 Mon Sep 17 00:00:00 2001 From: galmx Date: Wed, 13 May 2026 11:36:51 -0400 Subject: [PATCH] Potential fix for code scanning alert no. 6: Use of insecure SSL/TLS version Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- xiom.py | 1 + 1 file changed, 1 insertion(+) diff --git a/xiom.py b/xiom.py index 805517a..7dee20a 100644 --- a/xiom.py +++ b/xiom.py @@ -183,6 +183,7 @@ def _get_ssl_info(self, domain: str) -> None: print(f"{Fore.YELLOW}[*] Analyzing SSL/TLS certificate...{Style.RESET_ALL}") context = ssl.create_default_context() + context.minimum_version = ssl.TLSVersion.TLSv1_2 context.check_hostname = False context.verify_mode = ssl.CERT_NONE