mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
fix for a bug reported by ToR: "AttributeError: 'NoneType' object has no attribute 'isdigit'"
This commit is contained in:
parent
bf09b8a6d9
commit
2cc167a42e
2 changed files with 17 additions and 13 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue