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}}
​Click here to know more about Amass​
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();
Check the Readme on GitHub to know more about the Script.
# -------- Agents dependencies --------​# To allow run amass inside the docker​RUN apt-get update && apt-get install -y wget unzipRUN 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.zipRUN mv /tmp/amass_v3.4.2_linux_amd64/amass /bin​# -------- End Agents dependencies --------