minor update planned for a long time (in case of heuristic test was positive warn the user properly at the end if program fails)

This commit is contained in:
Miroslav Stampar
2011-06-15 17:37:28 +00:00
parent e0ad72031f
commit 4d51fa8155
3 changed files with 22 additions and 10 deletions

View File

@@ -582,6 +582,8 @@ def heuristicCheckSqlInjection(place, parameter):
infoMsg = "heuristic test shows that %s " % place
infoMsg += "parameter '%s' might " % parameter
kb.heuristicTest = result
if result:
infoMsg += "be injectable (possible DBMS: %s)" % (Format.getErrorParsedDBMSes() or UNKNOWN_DBMS_VERSION)
logger.info(infoMsg)