Skip to content

Commit

Permalink
v4.2 - See CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xnl-h4ck3r committed Apr 23, 2024
1 parent 7273bf0 commit 0f3f662
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## Changelog

- v4.2

- Change

- BUG FIX: `&` were not being encoded since the version 4.1

- v4.1

- New
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<center><img src="https://github.com/xnl-h4ck3r/knoxnl/blob/main/knoxnl/images/title.png"></center>

## About - v4.1
## About - v4.2

This is a python wrapper around the amazing [KNOXSS API](https://knoxss.me/?page_id=2729) by Brute Logic.
To use this tool (and the underlying API), you must have a valid KNOXSS API key. Don't have one? Go visit https://knoxss.me and subscribe!
Expand Down
2 changes: 1 addition & 1 deletion knoxnl/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__="4.1"
__version__="4.2"
2 changes: 1 addition & 1 deletion knoxnl/knoxnl.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def knoxssApi(targetUrl, headers, method, knoxssResponse):
targetData = targetUrl.replace('&', '%26')

# Also encode + so it doesn't get converted to space
targetData = targetUrl.replace('+', '%2B')
targetData = targetData.replace('+', '%2B')

# If processing a POST
if method == 'POST' and args.http_method in ('POST','BOTH'):
Expand Down

0 comments on commit 0f3f662

Please sign in to comment.