diff --git a/lib/core/common.py b/lib/core/common.py index 45a8dfd40..4ea6f7a46 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -590,7 +590,7 @@ class Backend(object): def isVersionGreaterOrEqualThan(version): retVal = False - if Backend.getVersion() is not None and version is not None: + if all(_ not in (None, UNKNOWN_DBMS_VERSION) for _ in (Backend.getVersion(), version)): _version = unArrayizeValue(Backend.getVersion()) _version = re.sub(r"[<>= ]", "", _version) diff --git a/lib/core/settings.py b/lib/core/settings.py index 75bc7e9e6..d1b1f41bf 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from thirdparty import six from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.6.6.9" +VERSION = "1.6.6.10" 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)