OWASP Amass - Installation Guide
A precompiled version is available with each release.
Using this installation option on macOS is could result in an 'unidentified developer' warning. This can be resolved by following the steps below:
- Close the error message popup
- In macOS, go to "System Preferences" > "Security & Privacy"
- At the bottom of the dialog, there is a message saying that "amass' was blocked. Next to it click "Open anyway"
- The initial error message could pop up again, but this time with the option to click "Open" to run amass
- This only needs to be done once, amass will now run every time
- Build the Docker image:
docker build -t amass https://github.com/owasp-amass/amass.git
- Run the Docker image:
docker run -v OUTPUT_DIR_PATH:/.config/amass/ amass enum --list
The volume argument allows the Amass graph database to persist between executions and output files to be accessed on the host system. The first field (left of the colon) of the volume option is the amass output directory that is external to Docker, while the second field is the path, internal to Docker, where amass will write the output files.
The wordlists maintained in the Amass git repository are available in /examples/wordlists/
within the docker container. For example, to use all.txt
:
docker run -v OUTPUT_DIR_PATH:/.config/amass/ amass enum -brute -w /wordlists/all.txt -share -d example.com
If you prefer to build your own binary from the latest release of the source code, make sure you have a correctly configured Go >= 1.18 environment. More information about how to achieve this can be found on the golang website..
Simply execute the following command:
go install -v github.com/owasp-amass/amass/v4/...@master
At this point, the binary should be in $GOPATH/bin.
For Homebrew, the following two commands will install Amass into your environment:
brew tap owasp-amass/amass
brew install amass
Details regarding this package can be found here
Details regarding this package can be found here
pkg upgrade
pkg install amass
cd /usr/ports/dns/amass/ && make install clean
pkg install amass
OWASP Amass is installed by default and can be managed like any other Kali package:
apt-get update
apt-get install amass
nix-env -f '<nixpkgs>' -iA amass
apt-get update
apt-get install amass
sudo emerge net-analyzer/amass
Periodically, execute the following command to update all packages:
sudo pentoo-updater