mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
fix for a bug reported by ToR: "AttributeError: 'NoneType' object has no attribute 'isdigit'"
This commit is contained in:
@@ -1639,3 +1639,6 @@ def trimAlphaNum(value):
|
||||
value = value[1:]
|
||||
|
||||
return value
|
||||
|
||||
def isNumPosStrValue(value):
|
||||
return value and isinstance(value, basestring) and value.isdigit() and value != "0"
|
||||
|
||||
Reference in New Issue
Block a user