minor fix

This commit is contained in:
Miroslav Stampar 2012-04-10 22:29:39 +00:00
parent 8541222080
commit e33ea7c33a

View File

@ -346,7 +346,7 @@ def checkSqlInjection(place, parameter, value):
injectable = True
elif not conf.string:
if not injectable and not conf.string:
trueSet = set(extractTextTagContent(truePage))
falseSet = set(extractTextTagContent(falsePage))
candidate = reduce(lambda x, y: x or (y.strip() if y.strip() in (kb.pageTemplate or "") else None), (trueSet - falseSet), None)