warning user in cases of "User xyz already has more than 'max_user_connections' active connections"

This commit is contained in:
Miroslav Stampar
2012-04-12 09:44:54 +00:00
parent 831f79b851
commit 052d9455fe
3 changed files with 9 additions and 1 deletions

View File

@@ -608,8 +608,14 @@ def start():
finally:
showHttpErrorCodes()
if kb.maxConnectionsFlag:
warnMsg = "it appears that the target "
warnMsg += "has a maximum connections "
warnMsg += "constraint"
logger.warn(warnMsg)
if kb.dataOutputFlag and not conf.multipleTargets:
logger.info("Fetched data logged to text files under '%s'" % conf.outputPath)
logger.info("fetched data logged to text files under '%s'" % conf.outputPath)
if conf.multipleTargets and conf.resultsFilename:
infoMsg = "you can find results of scanning in multiple targets "