mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Minor patch (not not upload to <script.ext>/ directories)
This commit is contained in:
parent
9df16f3eb2
commit
b25f2bfa45
3 changed files with 4 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue