File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -619,7 +619,8 @@ def getDocRoot():
619619 infoMsg = "retrieved the web server document root: '%s'" % docRoot
620620 logger .info (infoMsg )
621621 else :
622- warnMsg = "unable to retrieve the web server document root"
622+ warnMsg = "unable to retrieve automatically the web server "
623+ warnMsg += "document root"
623624 logger .warn (warnMsg )
624625
625626 docRoot = []
@@ -673,15 +674,15 @@ def getDirs():
673674 directory = ntToPosixSlashes (directory )
674675 directories .add (directory )
675676 else :
676- warnMsg = "unable to retrieve any web server path"
677+ warnMsg = "unable to retrieve automatically any web server path"
677678 logger .warn (warnMsg )
678679
679680 webDir = extractRegexResult (r"//[^/]+?/(?P<result>.*)/." , conf .url )
680681 if webDir :
681682 directories .add (webDir )
682683
683684 message = "please provide additional comma separated file paths to "
684- message += "try to upload the agent inside the possible document "
685+ message += "try to upload the agent inside the possible document: "
685686 message += "root%s [Enter for None]: " % "s" if len (kb .docRoot ) > 1 else ""
686687 inputDirs = readInput (message )
687688
Original file line number Diff line number Diff line change 25772577 <url value =" http://debiandev/sqlmap/mysql/get_int.php?id=1" />
25782578 <tech value =" B" />
25792579 <osCmd value =" id" />
2580- <answers value =" please provide any additional web server=/var/www/ test" />
2580+ <answers value =" please provide additional comma separated file= test" />
25812581 </switches >
25822582 <parse >
25832583 <item value =" command standard output: 'uid=" />
You can’t perform that action at this time.
0 commit comments