Nmap service using Flask & Redis to implement a worker that waits for scanning jobs requested.
sudo apt update && sudo apt install -y nmap redis python3-venv
python3 -m venv .venv
. .venv/bin/activate
sudo pip install flask rq python3-nmap
- Start the worker
rq worker
- Start the flask server
python3 flask-server.py