From 0bfc1b411af99b87b2d5dc072ad4606bf5e8b30a Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Sun, 14 Nov 2010 15:39:57 +0000 Subject: [PATCH] Another bug fix for --union-test --- lib/techniques/inband/union/test.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/techniques/inband/union/test.py b/lib/techniques/inband/union/test.py index c22a94c03..ed4b9686d 100644 --- a/lib/techniques/inband/union/test.py +++ b/lib/techniques/inband/union/test.py @@ -53,13 +53,7 @@ def __unionPosition(negative=False, falseCond=False): # Perform the request resultPage, _ = Request.queryPage(payload, content=True) - # We have to assure that the randQuery value is not within the - # HTML code of the result page because, for instance, it is there - # when the query is wrong and the back-end DBMS is Microsoft SQL - # server - htmlParsed = htmlParser(resultPage) - - if resultPage and randQuery in resultPage and not htmlParsed: + if resultPage and randQuery in resultPage: setUnion(position=exprPosition) validPayload = payload