Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--exclude command doesnt work #48

Open
4 tasks done
CookiePackage opened this issue Oct 19, 2020 · 2 comments
Open
4 tasks done

--exclude command doesnt work #48

CookiePackage opened this issue Oct 19, 2020 · 2 comments
Assignees

Comments

@CookiePackage
Copy link

CookiePackage commented Oct 19, 2020

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 pip3 instead of pip. 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?]

@0xInfection 0xInfection self-assigned this Oct 20, 2020
@HACKE-RC
Copy link

I've tried fixing this error, I now got another error. Trying to fix it, then I will open a PR

@HACKE-RC
Copy link

xsrfprobe-output/webscantest.com/errored.log:1:(i) http://www.webscantest.com/csrf/csrfpost.php/ -> list.remove(x): x not in list

Why am i getting this :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants