Skip to content

Commit d98d645

Browse files
committed
Potential fix for #5132
1 parent 2900584 commit d98d645

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ def isVersionWithin(versionList):
590590
def isVersionGreaterOrEqualThan(version):
591591
retVal = False
592592

593-
if Backend.getVersion() is not None and version is not None:
593+
if all(_ not in (None, UNKNOWN_DBMS_VERSION) for _ in (Backend.getVersion(), version)):
594594
_version = unArrayizeValue(Backend.getVersion())
595595
_version = re.sub(r"[<>= ]", "", _version)
596596

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.6.6.9"
23+
VERSION = "1.6.6.10"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

0 commit comments

Comments
 (0)