Httprobe

Httprobe Agent Setup for Scan HTTP/S Open

Httprobe Command

Using {{domain}} ReconNess replace {{domain}} for the subdomain.

echo '{{domain}}' | httprobe

Click here to know more about 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://dl.google.com/go/go1.14.6.linux-amd64.tar.gz
RUN tar -C /usr/local -xzf go1.14.6.linux-amd64.tar.gz
RUN /usr/local/go/bin/go get github.com/tomnomnom/httprobe
# -------- End Agents dependencies --------

Httprobe Command for Docker

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