mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
update regarding os shell-ing regarding JSP and ASPX
This commit is contained in:
parent
6232397129
commit
e7a66371f8
2 changed files with 24 additions and 18 deletions
|
|
@ -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/"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue