mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
minor fixes
This commit is contained in:
@@ -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<result>.*)/.", 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)
|
||||
|
||||
|
||||
@@ -2577,7 +2577,7 @@
|
||||
<url value="http://debiandev/sqlmap/mysql/get_int.php?id=1"/>
|
||||
<tech value="B"/>
|
||||
<osCmd value="id"/>
|
||||
<answers value="please provide any additional web server=/var/www/test"/>
|
||||
<answers value="please provide additional comma separated file=test"/>
|
||||
</switches>
|
||||
<parse>
|
||||
<item value="command standard output: 'uid="/>
|
||||
|
||||
Reference in New Issue
Block a user