Skip to content

Commit 89e8b6e

Browse files
committedAug 31, 2023
1 parent 6d472dc commit 89e8b6e

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed
 

‎lib/core/common.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -3182,7 +3182,14 @@ def isNumPosStrValue(value):
31823182
False
31833183
"""
31843184

3185-
return ((hasattr(value, "isdigit") and value.isdigit() and int(value) > 0) or (isinstance(value, int) and value > 0)) and int(value) < MAX_INT
3185+
retVal = False
3186+
3187+
try:
3188+
retVal = ((hasattr(value, "isdigit") and value.isdigit() and int(value) > 0) or (isinstance(value, int) and value > 0)) and int(value) < MAX_INT
3189+
except ValueError:
3190+
pass
3191+
3192+
return retVal
31863193

31873194
@cachedmethod
31883195
def aliasToDbmsEnum(dbms):

‎lib/core/settings.py

+1-1
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.7.8.9"
23+
VERSION = "1.7.8.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)
Please sign in to comment.