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

Unable to get archery range apps to run #8

Open
psiinon opened this issue Nov 16, 2023 · 1 comment
Open

Unable to get archery range apps to run #8

psiinon opened this issue Nov 16, 2023 · 1 comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file

Comments

@psiinon
Copy link

psiinon commented Nov 16, 2023

I'm not able to get the security-testbeds to run.
Obviously I may well be doing something wrong, but I believe I am following the instructions.

The steps I'm performing:

  • docker pull python
  • docker run -i -t python bash

Then in the docker container:

This fails:

root@b0611616034f:/security-testbeds/archery_range/xss# python3 app.py
Traceback (most recent call last):
  File "/security-testbeds/archery_range/xss/app.py", line 16, in <module>
    import flask
  File "/usr/local/lib/python3.12/site-packages/flask/__init__.py", line 5, in <module>
    from .app import Flask as Flask
  File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 30, in <module>
    from werkzeug.urls import url_quote
ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/usr/local/lib/python3.12/site-packages/werkzeug/urls.py). Did you mean: 'unquote'?

The sqli and xxs apps fail in the same way.

@psiinon
Copy link
Author

psiinon commented Nov 16, 2023

https://stackoverflow.com/questions/77213053/importerror-cannot-import-name-url-quote-from-werkzeug-urls
Appending Werkzeug==2.2.2 to requirements.txt seems to be a workaround..

@tooryx tooryx added bug Something isn't working dependencies Pull requests that update a dependency file labels Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

2 participants