mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 11:33:47 +03:00
Major bug fix
This commit is contained in:
parent
2f5995a7eb
commit
aa49aa579f
|
@ -49,7 +49,7 @@ def __unionPosition(comment, place, parameter, value, prefix, suffix, count, whe
|
||||||
# Perform the request
|
# Perform the request
|
||||||
resultPage, _ = Request.queryPage(payload, place=place, content=True)
|
resultPage, _ = Request.queryPage(payload, place=place, content=True)
|
||||||
|
|
||||||
if resultPage and randQuery in resultPage:
|
if resultPage and randQuery in resultPage and query not in resultPage:
|
||||||
setUnion(position=exprPosition)
|
setUnion(position=exprPosition)
|
||||||
validPayload = payload
|
validPayload = payload
|
||||||
unionVector = agent.forgeInbandQuery("[PAYLOAD]", exprPosition, count=count, comment=comment, prefix=prefix, suffix=suffix)
|
unionVector = agent.forgeInbandQuery("[PAYLOAD]", exprPosition, count=count, comment=comment, prefix=prefix, suffix=suffix)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user