mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-27 04:05:58 +00:00
Major bug fix to properly deal with EXISTS() when forging query or retrieving the query columns.
This commit is contained in:
parent
c2a358561f
commit
3822b494ea
5 changed files with 28 additions and 15 deletions
|
|
@ -95,7 +95,7 @@ def unionUse(expression, direct=False, unescape=True, resetCounter=False, unpack
|
|||
expression = unescaper.unescape(expression)
|
||||
|
||||
if kb.injection.data[PAYLOAD.TECHNIQUE.UNION].where == 2 and not direct:
|
||||
_, _, _, _, _, expressionFieldsList, expressionFields = agent.getFields(origExpr)
|
||||
_, _, _, _, _, expressionFieldsList, expressionFields, _ = agent.getFields(origExpr)
|
||||
|
||||
# We have to check if the SQL query might return multiple entries
|
||||
# and in such case forge the SQL limiting the query output one
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue