otinstaller · Subdomains and DNS
Install Amass on Windows, macOS, or Linux in one command
Amass is the OWASP project for mapping an organisation's external attack surface. It combines many data sources with DNS resolution and keeps what it finds in a local database, so each run builds on the ones before it.
Amass in three lines
curl -fsSL https://otinstaller.com/install.sh | sh
ot install amass
ot run amass enum -d example.comOn Windows, replace the first line with irm https://otinstaller.com/install.ps1 | iex in PowerShell.
Runs owasp-amass/amass (Apache-2.0, ★ 16k, otinstaller 0.3.0). otinstaller installs it as a release binary, pinned to version 5.1.3; it does not change or audit the tool itself.
What Amass is for
- A thorough subdomain map of a domain you are authorised to assess.
- Tracking how an attack surface changes between runs.
- Reading back the names found so far with amass subs.
Run Amass with ot
ot run amass passes everything after the tool's name to Amass unchanged, with input and output passed through, so the project's own documentation applies and tools pipe into each other.
- Enumerate the subdomains of a domain.
ot run amass enum -d example.com- Print the names found so far.
ot run amass subs -names -d example.com
Where the results go
ot run saves nothing itself: Amass's output goes to your terminal, a pipe, or wherever its own output option writes it. Results can hold personal data, so store and share them accordingly.
Before you run it
- An enumeration takes much longer than subfinder. Start it and come back.
- It resolves the names it finds, which is DNS traffic about the target from your machine.
Update, remove, inspect
ot info amass # details, and how it installs on this system
ot update amass # move to the version the registry pins
ot update amass --latest # take the newest upstream release instead
ot remove amass # remove itFull reference: the otinstaller docs, Amass on otinstaller.com, and the tool's own project page.
Pairs with
When open-source isn't enough
Amass maps what is reachable today. SearchIn's DNS providers add each host's record history and the registration details behind the domain.
FAQ
Amass with otinstaller, answered
How do I install Amass on Windows, macOS, or Linux?
Install ot once with the one-line script on the otinstaller page, then run ot install amass. Ot downloads the project's release binary for your system and checks its SHA-256 hash before it installs anything, at version 5.1.3. ot itself needs no administrator rights, and ot doctor checks that every installed tool starts.
How do I run Amass through ot?
With ot run amass followed by Amass's own arguments, for example: ot run amass enum -d example.com. ot passes everything after the tool's name straight through and exits with the tool's exit code, so the project's own documentation applies unchanged. Add ~/.ot/bin to your PATH to call the tool by its own name.
Is Amass part of ot scan?
No. ot scan takes a username, an email address, a domain, or a phone number and runs the tools the registry assigns to that kind of target. Run Amass on its own with ot run amass.
Does Amass need an API key or a login?
ot stores no key for it. The basic run needs neither a key nor a login.
Does Amass send traffic to the target?
The registry lists Amass as passive: it does not probe the target's own systems. Options that do contact the target, where the tool has them, are named under "Before you run it".