From 7a1ecf797bfae3c953ac275df9bf22339ccbc93b Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 6 Nov 2019 11:26:32 +0100 Subject: [PATCH] Dealing with ugly BeautifulSoup old version warning --- lib/core/settings.py | 2 +- sqlmap.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index fb252adb9..390afeba8 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.3.11.5" +VERSION = "1.3.11.6" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) diff --git a/sqlmap.py b/sqlmap.py index de58153f1..ebce1e1af 100755 --- a/sqlmap.py +++ b/sqlmap.py @@ -34,6 +34,7 @@ try: import warnings warnings.filterwarnings(action="ignore", message=".*was already imported", category=UserWarning) + warnings.filterwarnings(action="ignore", message=".*using a very old release", category=UserWarning) warnings.filterwarnings(action="ignore", category=DeprecationWarning) from lib.core.data import logger