bug fix: test for boundaries with high levels if the test was extended

This commit is contained in:
Bernardo Damele 2015-03-01 11:02:05 +00:00
parent 260643241a
commit 8281fe48e5

View File

@ -299,7 +299,7 @@ def checkSqlInjection(place, parameter, value):
# Skip boundary if the level is higher than the provided (or
# default) value
# Parse boundary's <level>
if boundary.level > conf.level:
if boundary.level > conf.level and not (kb.extendTests and intersect(payloadDbms, kb.extendTests, True)):
continue
# Skip boundary if it does not match against test's <clause>