Minor bug fix

This commit is contained in:
Bernardo Damele
2011-01-13 20:59:13 +00:00
parent 2ac8debea0
commit f8c04ce020
2 changed files with 5 additions and 7 deletions

View File

@@ -149,7 +149,7 @@ def checkSqlInjection(place, parameter, value):
continue
if getErrorParsedDBMSes() and dbms not in getErrorParsedDBMSes() and kb.skipOthersDbms is None:
if len(getErrorParsedDBMSes()) > 0 and dbms not in getErrorParsedDBMSes() and kb.skipOthersDbms is None:
msg = "parsed error message(s) showed that the "
msg += "back-end DBMS could be '%s'. " % getErrorParsedDBMSesFormatted()
msg += "Do you want to skip test payloads specific for other DBMSes? [Y/n]"