Skip to content

Latest commit

 

History

History
140 lines (90 loc) · 3.79 KB

install.md

File metadata and controls

140 lines (90 loc) · 3.79 KB

OWASP Logo OWASP Amass - Installation Guide

Packaging status Get it from the Snap Store

Prebuilt Binaries

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:

  1. Close the error message popup
  2. In macOS, go to "System Preferences" > "Security & Privacy"
  3. At the bottom of the dialog, there is a message saying that "amass' was blocked. Next to it click "Open anyway"
  4. The initial error message could pop up again, but this time with the option to click "Open" to run amass
  5. This only needs to be done once, amass will now run every time

Using Docker

  1. Build the Docker image:
docker build -t amass https://github.com/OWASP/Amass.git
  1. 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

From Source

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.16 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/v3/...@master

At this point, the binary should be in $GOPATH/bin.

Packages Maintained by the Amass Project

Homebrew

For Homebrew, the following two commands will install Amass into your environment:

brew tap caffix/amass
brew install amass

Snapcraft

If your operating environment supports Snap, you can click here to install, or perform the following from the command-line:

sudo snap install amass

Add the Snap bin directory to your PATH:

export PATH=$PATH:/snap/bin

Periodically, execute the following command to update all your snap packages:

sudo snap refresh

Packages Maintained by a Third Party

Arch Linux

Details regarding this package can be found here

BlackArch Linux

Details regarding this package can be found here

DragonFly BSD

pkg upgrade
pkg install amass

FreeBSD

cd /usr/ports/dns/amass/ && make install clean
pkg install amass

Kali Linux

OWASP Amass is installed by default and can be managed like any other Kali package:

apt-get update
apt-get install amass

Nix or NixOS

nix-env -f '<nixpkgs>' -iA amass

Parrot Linux

apt-get update
apt-get install amass

Pentoo Linux

sudo emerge net-analyzer/amass

Periodically, execute the following command to update all packages:

sudo pentoo-updater