Using {{domain}}
ReconNess replace {{domain}}
for the subdomain.
echo "{{domain}},8.8.8.8" | go run zdns/main.go A
​Click here to know more about ZDNS​
This Agent run in each subdomain.
We save the DNS Lookup inside the Subdomain's Notes
return new ReconNess.Core.Models.ScriptOutput { Note = lineInput };
Check the Readme on GitHub to know more about the Script.
# -------- Agents dependencies --------​# To allow run zdns 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 git clone https://github.com/zmap/zdns.gitRUN cd zdns && /usr/local/go/bin/go build​# -------- End Agents dependencies --------
cd /app/zdns/zdns && echo '{{domain}},8.8.8.8' | /usr/local/go/bin/go run main.go A