diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 057f66ea7..d9cbfc917 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -763,7 +763,9 @@ def heuristicCheckSqlInjection(place, parameter): kb.ignoreCasted = readInput(message, default='Y' if conf.multipleTargets else 'N').upper() != 'N' elif result: - infoMsg += "be injectable (possible DBMS: '%s')" % (Format.getErrorParsedDBMSes() or UNKNOWN_DBMS) + infoMsg += "be injectable" + if Backend.getErrorParsedDBMSes(): + infoMsg += " (possible DBMS: '%s')" % Format.getErrorParsedDBMSes() logger.info(infoMsg) else: