No module named 'multiprocess' when trying to use docker container (no python dependencies installed)
Hi, I wanted to try to use nettacker, however when running python nettacker.py inside the docker container it seems all required dependencies aren't installed by default:
docker run -it owasp/nettacker:0.4.0 /bin/bash
root@183e1714377a:/usr/src/owaspnettacker# python nettacker.py --help
Traceback (most recent call last):
File "/usr/src/owaspnettacker/nettacker.py", line 3, in <module>
from nettacker.main import run
File "/usr/src/owaspnettacker/nettacker/main.py", line 3, in <module>
from nettacker.core.app import Nettacker
File "/usr/src/owaspnettacker/nettacker/core/app.py", line 8, in <module>
import multiprocess
ModuleNotFoundError: No module named 'multiprocess'
After installing the dependencies manually it worked:
pip install multiprocess numpy PyYAML netaddr texttable SQLAlchemy
I could not see a requirements.txt file inside the docker container.
Tested version: owasp/nettacker:0.4.0 (sha256:605a31ae92abfa896cdd3961b266676dafa6c31d917ea77348c0245db9d2dadd)
Tested with both docker (29.5.2 on Ubuntu 24.04) and podman (4.9.3 on Ubuntu 24.04)
Update: The problem seems to be fixed with the latest dev-Version with the docker image, maybe it would make sens to put a short notice in the installation guide: https://nettacker.readthedocs.io/en/latest/Installation/#install-nettacker-using-docker
Ok you can ignore this issue, thought this is a real application (the documentation sounded really promising), looks like this is mostly AI generated (the wildcard operator for the scan command just doesn't work, if you select one module (e.g. admin_scan) to be executed it still runs a full port scan, the displayed report does only contain the requested urls but not the scan results?)
@s-lukas Nettacker is supposed to run from poetry (please read the docs). pip install is for the system python not for poetry. In the docker container nettacker is installed in Poetry virtual environment.
The second problem you described is the fact that a full port scan is run by default on each target, which might not be what you want, if you are running the admin scan. You turn off the default port scan with -d command line switch