From ee4727850cec4ca55da14b2548cf61a41206e299 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Thu, 13 Jan 2011 10:29:47 +0000 Subject: [PATCH] Minor bug fix --- lib/techniques/inband/union/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/techniques/inband/union/test.py b/lib/techniques/inband/union/test.py index 16fc06fe9..55e945a9f 100644 --- a/lib/techniques/inband/union/test.py +++ b/lib/techniques/inband/union/test.py @@ -62,7 +62,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 not in resultPage or randQuery2 not in resultPage): + if resultPage and " UNION ALL SELECT " not in resultPage and (randQuery not in resultPage or randQuery2 not in resultPage): vector = (position, count, comment, prefix, suffix, conf.uChar, 2) break