File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff 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
31883195def aliasToDbmsEnum (dbms ):
Original file line number Diff line number Diff line change 2020from 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 "
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2626VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
You can’t perform that action at this time.
0 commit comments