Links

Httprobe

Httprobe Agent Setup for Scan HTTP/S Open

Httprobe Command

Using {{domain}} ReconNess replace {{domain}} for the subdomain.
echo '{{domain}}' | httprobe
This Agent run in each subdomain.

Httprobe Script

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.

Httprobe Dockerfile Entry

# -------- Agents dependencies --------
# To allow run httprobe inside the docker
RUN apt-get update && apt-get install -y git wget
RUN wget https://golang.org/dl/go1.16.linux-amd64.tar.gz
RUN tar -C /usr/local -xzf go1.16.linux-amd64.tar.gz
RUN export GOPATH=$HOME/go
RUN export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
RUN /usr/local/go/bin/go get github.com/tomnomnom/httprobe
# -------- End Agents dependencies --------

Httprobe Command for Docker

echo '{{domain}}' | /root/go/bin/httprobe