mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
Limited custom query now works also on Oracle in inferential blind SQL
injection technique
This commit is contained in:
parent
24ddbdc89d
commit
c83593c044
|
@ -77,11 +77,18 @@ def __goInferenceFields(expression, expressionFields, expressionFieldsList, payl
|
|||
for field in expressionFieldsList:
|
||||
output = None
|
||||
|
||||
if field.startswith("ROWNUM "):
|
||||
continue
|
||||
|
||||
if isinstance(num, int):
|
||||
origExpr = expression
|
||||
expression = agent.limitQuery(num, expression, field)
|
||||
|
||||
expressionReplaced = expression.replace(expressionFields, field, 1)
|
||||
if "ROWNUM" in expressionFieldsList:
|
||||
expressionReplaced = expression.replace(expressionFields, field, 1)
|
||||
else:
|
||||
expressionReplaced = expression
|
||||
|
||||
output = resume(expressionReplaced, payload)
|
||||
|
||||
if not output or ( expected == "int" and not output.isdigit() ):
|
||||
|
|
Loading…
Reference in New Issue
Block a user