| commit a49f03b7911a48ec058afe8f5abe1fddf0637a4e parent 47c4e1ad02dd0aa741224cefbbae3c0a52997f75 Author: devastator-x <ICMProtocol@proton.me> Date: Tue, 20 Jan 2026 17:25:23 +0900 fix: suppress SSL and Wappalyzer warnings Diffstat:
|
| 1 file changed, 7 insertion(+), 0 deletion(-) |
diff --git a/src/usfx/modules/web_tech.py b/src/usfx/modules/web_tech.py @@ -10,10 +10,17 @@ import logging import socket import ssl import urllib.request +import warnings from concurrent.futures import ThreadPoolExecutor, as_completed from typing import Dict, List, Optional, Set, TYPE_CHECKING from urllib.error import HTTPError, URLError +# Suppress SSL warnings for security scanning +warnings.filterwarnings('ignore', message='Unverified HTTPS request') +warnings.filterwarnings('ignore', category=DeprecationWarning, module='Wappalyzer') +warnings.filterwarnings('ignore', message='pkg_resources is deprecated') +warnings.filterwarnings('ignore', message='Caught.*compiling regex') + from .base import BaseModule if TYPE_CHECKING: |