Open windowshopr opened 2 years ago
It seems python on windows uses cp1252 as default encoding when opening file, but saved file has utf8 encoding, that's why UnicodeDecodeError raises. Maybe it will be better to restrict utf8 files only, and open file as open(path, 'r', encoding='utf8')
in reader function
Describe the bug Trying to use XSStrike on Windows 10, Python 3.7.9 and the DVWA XSS (DOM) page. I stored this payload list into a
payloads.txt
file, then when I run this command:python xsstrike.py -u http://172.16.1.82:8008/dvwa/vulnerabilities/xss_d/ --data Default --file payloads.txt
...I get this traceback error:
To Reproduce To reproduce, setup the DVWA on a local server, download the above payloads list into a
payloads.txt
file, and run the same command while the DVWA server is running.Screenshots
Potential cause or fix
Environment: Described at the beginning.
Some Questions
pip3
instead ofpip
Other comments None.