-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Installation Guide
- Prebuilt Binaries
- Using Docker
- Compile from Source
- Packages Maintained by the Amass Project
- Packages Maintained by a Third Party
A precompiled version is available with each release.
- Build the Docker image:
docker build -t amass https://github.com/OWASP/Amass.git- Run the Docker image:
docker run -v OUTPUT_DIR_PATH:/.config/amass/ amass enum --listThe 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 -d example.comIf you prefer to build your own binary from the latest release of the source code, make sure you have a correctly configured Go >= 1.14 environment. More information about how to achieve this can be found on the golang website..
Simply execute the following commands:
- Add the Go Module environment variable:
export GO111MODULE=on- Download OWASP Amass:
go get -v -u github.com/OWASP/Amass/v3/...At this point, the binary should be in $GOPATH/bin.
- If you'd like to rebuild the binary from the project source code:
cd $GOPATH/src/github.com/OWASP/Amass
go install ./...Several wordlists for performing DNS name alterations and brute forcing can be found in the following directory:
ls $GOPATH/src/github.com/OWASP/Amass/examples/wordlists/For Homebrew, the following two commands will install Amass into your environment:
brew tap caffix/amass
brew install amassIf your operating environment supports Snap, you can click here to install, or perform the following from the command-line:
sudo snap install amassAdd the Snap bin directory to your PATH:
export PATH=$PATH:/snap/binPeriodically, execute the following command to update all your snap packages:
sudo snap refreshDetails regarding this package can be found here
Details regarding this package can be found here
pkg upgrade
pkg install amasscd /usr/ports/dns/amass/ && make install clean
pkg install amassOWASP Amass is installed by default and can be managed like any other Kali package:
apt-get update
apt-get install amassnix-env -f '<nixpkgs>' -iA amassapt-get update
apt-get install amasssudo emerge net-analyzer/amassPeriodically, execute the following command to update all packages:
sudo pentoo-updater