Minor patch

This commit is contained in:
Miroslav Stampar 2014-08-30 22:04:55 +02:00
parent dc2ee8bfa0
commit 20ff402103

View File

@ -106,7 +106,7 @@ def checkSqlInjection(place, parameter, value):
msg = "do you want to include all tests for '%s' " % _
msg += "extending provided level (%d) and risk (%s)? [Y/n]" % (conf.level, conf.risk)
kb.extendTests = [] if readInput(msg, default='Y').upper() != 'Y' else (Backend.getErrorParsedDBMSes() or [kb.heuristicDbms])
elif kb.extendTests is None:
elif kb.extendTests is None and conf.level < 5 and conf.risk < 3:
msg = "do you want to include all tests for '%s' " % conf.dbms
msg += "extending provided level (%d) and risk (%s)? [Y/n]" % (conf.level, conf.risk)
kb.extendTests = [] if readInput(msg, default='Y').upper() != 'Y' else ([conf.dbms])