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
After some dependabot version bumps, the web UI is broken on docker build. The owtf and database containers can be built fine, but tornado is looking for the wrong template file
Expected Behavior
The UI should show the dashboard.
Current Behavior
Building OWTF docker using make compose will build the containers and return all the normal messages, but when accessing the web UI (most likely at localhost:8009), a message like this will pop up:
File "/home/owtf/owtf-venv/lib/python3.9/site-packages/tornado/web.py", line 1590, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/home/owtf/owtf-venv/lib/python3.9/site-packages/owtf-2.6.0-py3.9.egg/owtf/api/handlers/index.py", line 35, in get
self.render("index.html")
File "/home/owtf/owtf-venv/lib/python3.9/site-packages/tornado/web.py", line 766, in render
html = self.render_string(template_name, **kwargs)
File "/home/owtf/owtf-venv/lib/python3.9/site-packages/tornado/web.py", line 904, in render_string
t = loader.load(template_name)
File "/home/owtf/owtf-venv/lib/python3.9/site-packages/tornado/template.py", line 425, in load
self.templates[name] = self._create_template(name)
File "/home/owtf/owtf-venv/lib/python3.9/site-packages/tornado/template.py", line 452, in _create_template
with open(path, "rb") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/owtf/.owtf/build/index.html'
Possible Solution
Most appropriate solution is to investigate into the new tornado/UI behavior
A quick workaround is to hard reset to this commit will bring back the functional UI. Optionally, apply this newest commit to ensure GCP bucket enumeration works.
Steps to Reproduce (for bugs)
Clone OWTF on newest develop release
make compose
Wait for containers to be built
Navigate to localhost:8009 or wherever container port 8009 is forwarded to.
Logs
Context
Your Environment
Installation method used: Docker
Version/branch used: newest commit, develop
Operating System and version (like Kali, Debian, ArchLinux, etc): Windows Host, Docker Desktop
pip/setuptools version:
sudo access:
The text was updated successfully, but these errors were encountered:
After some dependabot version bumps, the web UI is broken on docker build. The owtf and database containers can be built fine, but tornado is looking for the wrong template file
Expected Behavior
The UI should show the dashboard.
Current Behavior
Building OWTF docker using make compose will build the containers and return all the normal messages, but when accessing the web UI (most likely at localhost:8009), a message like this will pop up:
Possible Solution
Most appropriate solution is to investigate into the new tornado/UI behavior
A quick workaround is to hard reset to this commit will bring back the functional UI. Optionally, apply this newest commit to ensure GCP bucket enumeration works.
Steps to Reproduce (for bugs)
Logs
Context
Your Environment
The text was updated successfully, but these errors were encountered: