diff --git a/lib/techniques/union/test.py b/lib/techniques/union/test.py index 9349d6f1f..4812fa3ab 100644 --- a/lib/techniques/union/test.py +++ b/lib/techniques/union/test.py @@ -196,7 +196,7 @@ def __unionPosition(comment, place, parameter, prefix, suffix, count, where=PAYL # Confirm that it is a full inband SQL injection query = agent.forgeInbandQuery(randQueryUnescaped, position, count, comment, prefix, suffix, kb.uChar, where, multipleUnions=randQueryUnescaped2) - payload = agent.payload(place=place, parameter=parameter, newValue=query, where=PAYLOAD.WHERE.NEGATIVE) + payload = agent.payload(place=place, parameter=parameter, newValue=query, where=where) # Perform the request page, headers = Request.queryPage(payload, place=place, content=True, raise404=False)