owtf: Failed to launch on Kali Linux
After cloning the repo, starting the server manually, and python setup.py develop, owtf command is reporting error.
Expected Behavior
Running properly
Current Behavior
Not running and error is reported
Possible Solution
run python setup.py develop again and see two lines of error:
Collecting black==18.4a3
Could not find a version that satisfies the requirement black==18.4a3 (from versions: )
No matching distribution found for black==18.4a3
error /root/owtf/owtf/webapp/node_modules/pngquant-bin: Command failed.
Exit code: 1
Not sure if this is the problem. Also, could be a database related problem since the error reported is a SQL instruction.
[SQL: 'SELECT DISTINCT plugins."group" AS plugins_group \nFROM plugins']
Steps to Reproduce (for bugs)
- Clone the repo
- Start pgsql with
sudo systemctl enable postgresql - Create user with
sudo su postgres -c "psql -c \"CREATE USER $db_user WITH PASSWORD '$db_pass'\"", user name isexport db_user="owtf_db_user", pass isexport db_pass="jgZKW33Q+HZk8rqylZxaPg1lbuNGHJhgzsq3gBKV32g=" - Create database with
sudo su postgres -c "psql -c \"CREATE DATABASE $db_name WITH OWNER $db_user ENCODING 'utf-8' TEMPLATE template0;\"", database name isexport db_name="owtf_db" owtf, which reports error
Logs
owtf_review:
[DEBUG] [2019-03-11 12:37:57,457] [File 'worker.py', line 100, in spawn_worker] - Adding a new worker
[DEBUG] [2019-03-11 12:37:57,466] [File 'worker.py', line 100, in spawn_worker] - Adding a new worker
The error reported is here
Context
It would be great if it can launch:)
Your Environment
- Linux kali 4.19.0-kali3-amd64 #1 SMP Debian 4.19.20-1kali1 (2019-02-14) x86_64 GNU/Linux
- Up-to-date branch
- pip 18.1 from /usr/lib/python2.7/dist-packages/pip (python 2.7)
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 16 (11 by maintainers)
This should be fixed in https://github.com/owtf/owtf/commit/79d955694859036e194f90b6e0f594a84ae0114e.
git pull origin develop && python setup.py developshould fix existing installations. There was a regression in a previous commit which introduced some refactoring in the database session handling.I don’t think you need Kali to test it out. I’m trying to make OWTF to be available on all platforms through Docker.
On Wed, Mar 27, 2019 at 03:15 Sachin S. Kamath notifications@github.com wrote: