-
Notifications
You must be signed in to change notification settings - Fork 216
Description
Describe the bug
When using --exclude command the tool breaks
Command You Used
xsrfprobe -u "http://192.168.1.1/cgi-bin/luci/admin/status" --cookie "sysauth=a0ab02bc860607be5aa506752c1aaf05" --crawl -d 10 -t 10 -E logout/
Full Stack Trace Error
Traceback (most recent call last):
File "/usr/local/bin/xsrfprobe", line 4, in
import('pkg_resources').run_script('xsrfprobe==2.3.1', 'xsrfprobe')
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 667, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 1470, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python3.8/dist-packages/xsrfprobe-2.3.1-py3.8.egg/EGG-INFO/scripts/xsrfprobe", line 15, in
File "/usr/local/lib/python3.8/dist-packages/xsrfprobe-2.3.1-py3.8.egg/xsrfprobe/xsrfprobe.py", line 13, in startEngine
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 618, in _load_backward_compatible
File "", line 259, in load_module
File "/usr/local/lib/python3.8/dist-packages/xsrfprobe-2.3.1-py3.8.egg/xsrfprobe/core/main.py", line 34, in
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 618, in _load_backward_compatible
File "", line 259, in load_module
File "/usr/local/lib/python3.8/dist-packages/xsrfprobe-2.3.1-py3.8.egg/xsrfprobe/core/options.py", line 148, in
AttributeError: 'list' object has no attribute 'strip'
Potential cause or fix
[Do you know what could be causing the problem or how to fix it?]
Environment:
- OS: [Ubuntu 20.04.1 LTS]
- Python version: [e.g. v3.8.5]
Some Questions
- I am using the latest version of XSFRProbe. Yes: v2.3.1
- I installed the dependecies using
pip3instead ofpip. yes - I have read the documentation before submitting this issue. yes
- I have checked the other issues to see if someone reported this before. yes
Other stuff
[Something else you want the author to know?]