Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fd8028b

Browse files
committed
Fixes #3977
1 parent 1d1da45 commit fd8028b

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

lib/core/common.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3194,7 +3194,10 @@ def isDBMSVersionAtLeast(minimum):
31943194
parts[1] = filterStringValue(parts[1], '[0-9]')
31953195
version = '.'.join(parts)
31963196

3197-
version = float(filterStringValue(version, '[0-9.]')) + correction
3197+
try:
3198+
version = float(filterStringValue(version, '[0-9.]')) + correction
3199+
except ValueError:
3200+
return None
31983201

31993202
if isinstance(minimum, six.string_types):
32003203
if '.' in minimum:

lib/core/settings.py

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

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.3.10.24"
21+
VERSION = "1.3.10.25"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
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)