mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
update regarding os shell-ing regarding JSP and ASPX
This commit is contained in:
@@ -304,7 +304,7 @@ def getDocRoot(webApi=None):
|
||||
pagePath = directoryPath(conf.path)
|
||||
|
||||
if kb.os == "Windows":
|
||||
if webApi == "php":
|
||||
if webApi in ("php", "jsp"):
|
||||
defaultDocRoot = "C:/xampp/htdocs/"
|
||||
else:
|
||||
defaultDocRoot = "C:/Inetpub/wwwroot/"
|
||||
@@ -361,7 +361,7 @@ def getDirs(webApi=None):
|
||||
directories = set()
|
||||
|
||||
if kb.os == "Windows":
|
||||
if webApi == "php":
|
||||
if webApi in ("php", "jsp"):
|
||||
defaultDirs = ["C:/xampp/htdocs/"]
|
||||
else:
|
||||
defaultDirs = ["C:/Inetpub/wwwroot/"]
|
||||
|
||||
Reference in New Issue
Block a user