Skip to content

Commit

Permalink
update urlclean.mixPayload
Browse files Browse the repository at this point in the history
  • Loading branch information
Tr3jer committed Jun 30, 2020
1 parent 664fe18 commit 0b6e536
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
long_description = fh.read()

setup(name="wsltools",
version="0.2.3",
version="0.2.4",
description="Web Scan Lazy Tools",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
2 changes: 2 additions & 0 deletions wsltools/urlclean.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ def mixPayload(url, payloads, scope=[], append=False):


if not scope or 'path' in scope:
if not path_split:
result.add(urlunparse([u.scheme, u.netloc, p, u.params, u.query, u.fragment]))
for i in xrange(len(path_split)):
pathsTmp = copy.copy(path_split)
if pathsTmp[i] == '': continue
Expand Down

0 comments on commit 0b6e536

Please sign in to comment.