Using {{domain}}
ReconNess replace {{domain}}
for the subdomain.
echo '{{domain}}' | httprobe
​Click here to know more about Httprobe​
This Agent run in each subdomain.
using ReconNess.Core.Models;​if (string.IsNullOrEmpty(lineInput)){return new ScriptOutput();}​if (lineInput.StartsWith("https")){return new ScriptOutput { IsAlive = true, HasHttpOpen = true, Service = "https", Port = 443};}​if (lineInput.StartsWith("http")){return new ScriptOutput { IsAlive = true, HasHttpOpen = true, Service = "http", Port = 80};}​return new ScriptOutput();
Check the Readme on GitHub to know more about the Script.
# -------- Agents dependencies --------​# To allow run httprobe 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 github.com/tomnomnom/httprobe​# -------- End Agents dependencies --------
echo '{{domain}}' | /root/go/bin/httprobe