Using {{rootDomain}}
ReconNess replace {{rootDomain}}
to the root domain, for example, yahoo.com if we define that as a root domain adding the Target
subfinder -d '{{rootDomain}}' -nW -silent
​Click here to know more about Subfinder​
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 subfinder inside the docker​RUN apt-get update && apt-get install -y git wgetRUN wget https://dl.google.com/go/go1.14.6.linux-amd64.tar.gzRUN tar -C /usr/local -xzf go1.14.6.linux-amd64.tar.gzRUN /usr/local/go/bin/go get -u github.com/projectdiscovery/subfinder/v2/cmd/subfinder# -------- End Agents dependencies --------
/root/go/bin/subfinder -d {{rootDomain}} -nW -silent