mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
Dealing with basesting (one baby step closer to Py3 salvation)
This commit is contained in:
@@ -24,8 +24,8 @@ def cleanupVals(text, tag):
|
||||
if tag in ("clause", "where"):
|
||||
text = text.split(',')
|
||||
|
||||
if isinstance(text, basestring):
|
||||
text = int(text) if text.isdigit() else text
|
||||
if hasattr(text, "isdigit") and text.isdigit():
|
||||
text = int(text)
|
||||
|
||||
elif isinstance(text, list):
|
||||
count = 0
|
||||
|
||||
Reference in New Issue
Block a user