Using {{rootDomain}}
ReconNess replace {{rootDomain}}
for the root domain. To allow run this tool we need to have a resolvers.txt
and massdns installed
If we have Massdns in the folder ~/massdns/
and the resolvers.txt
here ~/
shuffledns -d {{rootDomain}} -r ~/resolvers.txt -w /app/all.txt -massdns ~/massdns/bin/massdns -silent"
​Click here to know more about Shuffledns​
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 shuffledns inside the docker​RUN apt-get update && apt-get install -y git wgetRUN wget https://golang.org/dl/go1.16.linux-amd64.tar.gzRUN tar -C /usr/local -xzf go1.16.linux-amd64.tar.gzRUN export GOPATH=$HOME/goRUN export PATH=$PATH:/usr/local/go/bin:$GOPATH/binRUN git clone https://github.com/blechschmidt/massdns.git && cd massdns && makeRUN cd /app && wget https://raw.githubusercontent.com/reconness/reconness-agents/master/resolvers.txtRUN wget https://github.com/projectdiscovery/shuffledns/releases/download/v1.0.4/shuffledns_1.0.4_linux_amd64.tar.gzRUN tar -xzvf shuffledns_1.0.4_linux_amd64.tar.gzRUN mv shuffledns /usr/local/bin/​# -------- End Agents dependencies --------
shuffledns -d {{rootDomain}} -r /app/resolvers.txt -w /app/all.txt -massdns /app/massdns/bin/massdns -silent