Minor bug fix

This commit is contained in:
Bernardo Damele 2011-01-13 10:29:47 +00:00
parent ca33728fbc
commit ee4727850c

View File

@ -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