Amass
Amass Agent Setup for Subdomain Enum
Using
{{rootDomain}}
ReconNess replace {{rootDomain}}
to the root domain, for example, yahoo.com if we define that as a root domain adding the Target/bin/amass enum --passive -d {{rootDomain}}
using ReconNess.Core.Models;
var match = System.Text.RegularExpressions.Regex.Match(lineInput, @"([^\.\/]+)(\.[^\.\/]+)+(?:\/|$)");
if (match.Success)
{
return new ScriptOutput { Subdomain = match.Groups[0].Value };
}
return new ScriptOutput();
# -------- Agents dependencies --------
# To allow run amass inside the docker
RUN apt-get update && apt-get install -y wget unzip
RUN cd /tmp/ ; wget https://github.com/OWASP/Amass/releases/download/v3.4.2/amass_v3.4.2_linux_amd64.zip ; unzip amass_v3.4.2_linux_amd64.zip
RUN mv /tmp/amass_v3.4.2_linux_amd64/amass /bin
# -------- End Agents dependencies --------
/bin/amass enum --passive -d {{rootDomain}}
Last modified 1yr ago