mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
Minor patch (not not upload to <script.ext>/ directories)
This commit is contained in:
@@ -259,6 +259,7 @@ class Web:
|
||||
directories = list(oset(directories))
|
||||
|
||||
path = urlparse.urlparse(conf.url).path or '/'
|
||||
path = re.sub(r"/[^/]*\.\w+\Z", '/', path)
|
||||
if path != '/':
|
||||
_ = []
|
||||
for directory in directories:
|
||||
|
||||
Reference in New Issue
Block a user