Httprobe
Httprobe Agent Setup for Scan HTTP/S Open

Httprobe Command

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

Httprobe Script

1
using ReconNess.Core.Models;
2
3
if (string.IsNullOrEmpty(lineInput))
4
{
5
return new ScriptOutput();
6
}
7
8
if (lineInput.StartsWith("https"))
9
{
10
return new ScriptOutput { IsAlive = true, HasHttpOpen = true, Service = "https", Port = 443};
11
}
12
13
if (lineInput.StartsWith("http"))
14
{
15
return new ScriptOutput { IsAlive = true, HasHttpOpen = true, Service = "http", Port = 80};
16
}
17
18
return new ScriptOutput();
Copied!
Check the Readme on GitHub to know more about the Script.

Httprobe Dockerfile Entry

1
# -------- Agents dependencies --------
2
3
# To allow run httprobe inside the docker
4
5
RUN apt-get update && apt-get install -y git wget
6
RUN wget https://golang.org/dl/go1.16.linux-amd64.tar.gz
7
RUN tar -C /usr/local -xzf go1.16.linux-amd64.tar.gz
8
RUN export GOPATH=$HOME/go
9
RUN export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
10
RUN /usr/local/go/bin/go get github.com/tomnomnom/httprobe
11
12
# -------- End Agents dependencies --------
Copied!

Httprobe Command for Docker

1
echo '{{domain}}' | /root/go/bin/httprobe
Copied!
Last modified 10mo ago