mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Bug fix for uploading files in case of web subdirectories
This commit is contained in:
parent
b3b49b3492
commit
102d4b4119
2 changed files with 9 additions and 5 deletions
|
|
@ -813,11 +813,6 @@ def getAutoDirectories():
|
|||
warnMsg = "unable to automatically parse any web server path"
|
||||
logger.warn(warnMsg)
|
||||
|
||||
_ = extractRegexResult(r"//[^/]+?(?P<result>/.*)/", conf.url) # web directory
|
||||
|
||||
if _:
|
||||
retVal.add(_)
|
||||
|
||||
return list(retVal)
|
||||
|
||||
def filePathToSafeString(filePath):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue