diff --git a/lib/core/common.py b/lib/core/common.py index 51afbcfd4..6637452d6 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -619,7 +619,8 @@ def getDocRoot(): infoMsg = "retrieved the web server document root: '%s'" % docRoot logger.info(infoMsg) else: - warnMsg = "unable to retrieve the web server document root" + warnMsg = "unable to retrieve automatically the web server " + warnMsg += "document root" logger.warn(warnMsg) docRoot = [] @@ -673,7 +674,7 @@ def getDirs(): directory = ntToPosixSlashes(directory) directories.add(directory) else: - warnMsg = "unable to retrieve any web server path" + warnMsg = "unable to retrieve automatically any web server path" logger.warn(warnMsg) webDir = extractRegexResult(r"//[^/]+?/(?P.*)/.", conf.url) @@ -681,7 +682,7 @@ def getDirs(): directories.add(webDir) message = "please provide additional comma separated file paths to " - message += "try to upload the agent inside the possible document " + message += "try to upload the agent inside the possible document: " message += "root%s [Enter for None]: " % "s" if len(kb.docRoot) > 1 else "" inputDirs = readInput(message) diff --git a/xml/livetests.xml b/xml/livetests.xml index 6d74eec1b..71bb126db 100644 --- a/xml/livetests.xml +++ b/xml/livetests.xml @@ -2577,7 +2577,7 @@ - +