mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-26 18:22:30 +01:00
Proper fix to avoid UNION test false positives
This commit is contained in:
parent
c2e994e806
commit
873951ab92
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ def __unionPosition(comment, place, parameter, value, prefix, suffix, dbms, coun
|
|||
# Perform the request
|
||||
resultPage, _ = Request.queryPage(payload, place=place, content=True)
|
||||
|
||||
if resultPage and randQuery in resultPage and query not in resultPage:
|
||||
if resultPage and randQuery in resultPage and " UNION ALL SELECT " not in resultPage:
|
||||
setUnion(position=exprPosition)
|
||||
validPayload = payload
|
||||
unionVector = agent.forgeInbandQuery("[PAYLOAD]", exprPosition, count=count, comment=comment, prefix=prefix, suffix=suffix)
|
||||
|
|
|
|||
Loading…
Reference in a new issue