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

VIZ command permission denied #891

Open compactus opened 1 year ago

compactus commented 1 year ago

OS: Ubuntu LTS 22.04 Amass: v3.21.1 Docker: version 20.10.21, build baeda1f

After clean install of docker, I executed enumeration and viz one by one. The viz command keeps failing with "permission denied". My user has permissions to create files, and to eliminate I even tried with root.

docker run -v /home/compactus/Documents/workspace/amass:/.config/amass/ caffix/amass enum -d example.com docker run -v /home/compactus/Documents/workspace/amass:/.config/amass/ caffix/amass viz -d3 Failed to write the output file: open amass.html: permission denied

caffix commented 1 year ago

You can use the -o flag to write the output file into the /.config/amass/ directory within the container, which will cause the file to show up in your mounted volume