From 71b0acc16f77ec56c255c75cff5481eda858a307 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 15 Apr 2012 16:43:18 +0000 Subject: [PATCH] minor fix (checking for full inband should be done with ORIGINAL - more concise) --- lib/techniques/union/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)