owasp-amass / amass

In-depth attack surface mapping and asset discovery
https://owasp.org/www-project-amass/
Other
11.78k stars 1.86k forks source link

Docker container not stopping #918

Open dropberry opened 1 year ago

dropberry commented 1 year ago

Hello! I'm using the Amass within Docker and since the last update, the docker container doesn't stop anymore. When I stop it manually, amass returns as usual the summary about the number of found subdomains etc. and the container exites with exit code 0. Before the last update, the container stopped automatically when Amass finished it's search.

I tried it with the caffx/amass image and with building my own image from the GitHub repo but had the same issue both times.

Thank you!

Ilyesbdlala commented 1 year ago

This is not only limited to the Docker image. The executable also does not exit. As far as I can tell, this does not depend on the target. Steps to reproduce the error:

wget https://github.com/owasp-amass/amass/releases/download/v4.1.0/amass_Linux_amd64.zip
unzip amass_Linux_amd64.zip 
cd amass_Linux_amd64/
./amass enum -dir ./demo -norecursive -d securecodebox.io