You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was unable to raise a pull request hence reporting this fix via issue!!! Tested while using python version 3.11.9
XSS-strike is having issues while reading custom xss payload file via -f flag , hence i modified the old "reader" function in the core/utils.py
Old code:
def reader(path):
with open(path, 'r') as f:
result = [line.rstrip(
'\n').encode('utf-8').decode('utf-8') for line in f]
return result
Modified code:
def reader(path):
with open(path, 'r', encoding='utf-8') as f:
result = [line.rstrip('\n') for line in f]
return result
Modify this at line 203 to 207 (reader function) in core/utils.py
The text was updated successfully, but these errors were encountered:
I was unable to raise a pull request hence reporting this fix via issue!!! Tested while using python version 3.11.9
XSS-strike is having issues while reading custom xss payload file via -f flag , hence i modified the old "reader" function in the core/utils.py
Old code:
Modified code:
Modify this at line 203 to 207 (reader function) in core/utils.py
The text was updated successfully, but these errors were encountered: