install the python dependencies:
python -m venv .venv
source .venv/bin/activate
pip install -r Requirements.txt
start redis and mongo servers on localhost:
./setup.sh
launch the dramatiq workers:
python -m dramatiq scanner
#python -m dramatiq scanner --watch .
launch the scan in a separate terminal window:
sudo python scanner.py -p 80
go to mongo-express and log in with admin
and pass
.
query the number of jobs in queue:
redis-cli
> LLEN dramatiq:default
clear all keys from redis:
redis-cli
> flushall