mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
Minor bug fix to properly cast to string also the COUNT() query in error-based technique (as it's concatenated to random strings for identification in page response) and int-string concatenation is not supported in all DBMS (like Oracle)
This commit is contained in:
parent
bd2e036412
commit
0f2634c4b0
|
@ -219,7 +219,8 @@ def errorUse(expression, expected=None, resumeValue=True, dump=False):
|
|||
|
||||
if not stopLimit:
|
||||
if not count or not count.isdigit():
|
||||
count = __oneShotErrorUse(countedExpression, expressionFields)
|
||||
_, _, _, _, _, _, countedExpressionFields, _ = agent.getFields(countedExpression)
|
||||
count = __oneShotErrorUse(countedExpression, countedExpressionFields)
|
||||
|
||||
if isNumPosStrValue(count):
|
||||
stopLimit = int(count)
|
||||
|
|
Loading…
Reference in New Issue
Block a user