just a minor fix to stop nagging with "Do you want to skip test payloads specific for other DBMSes?" if n is pressed

This commit is contained in:
Miroslav Stampar 2011-02-10 22:47:43 +00:00
parent 5f2fcd1eea
commit a6ab24e0b5

View File

@ -156,6 +156,8 @@ def checkSqlInjection(place, parameter, value):
if conf.realTest or readInput(msg, default="Y") in ("y", "Y"):
kb.skipOthersDbms = Backend.getErrorParsedDBMSes()
else:
kb.skipOthersDbms = []
if kb.skipOthersDbms and dbms not in kb.skipOthersDbms:
debugMsg = "skipping test '%s' because " % title