mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
minor update
This commit is contained in:
parent
8b0d31a6b7
commit
494e014a4a
|
@ -236,7 +236,7 @@ def getDocRoot():
|
|||
absFilePathWin = None
|
||||
|
||||
if re.match("[A-Za-z]:([\\/][\w.\\/]*)?", absFilePath):
|
||||
absFilePathWin = absFilePath
|
||||
absFilePathWin = absFilePath.replace("/", "\\")
|
||||
absFilePath = absFilePath[2:].replace("\\", "/")
|
||||
|
||||
if pagePath in absFilePath:
|
||||
|
@ -282,7 +282,7 @@ def getDirs():
|
|||
|
||||
for absFilePath in kb.absFilePaths:
|
||||
if absFilePath:
|
||||
directories.add(os.path.dirname(absFilePath))
|
||||
directories.add(directoryPath(absFilePath))
|
||||
else:
|
||||
warnMsg = "unable to retrieve any web server path"
|
||||
logger.warn(warnMsg)
|
||||
|
|
Loading…
Reference in New Issue
Block a user