Dnsprobe Agent Setup for port scanning tool

Naabu Command

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

./naabu -host {{domain}} -silent

Click here to know more about Naabu

This Agent run in each subdomain.

Naabu Script

using ReconNess.Core.Models;
var match = System.Text.RegularExpressions.Regex.Match(lineInput, @":(\d{1,5})");
if (match.Success)
return new ScriptOutput
Service = match.Groups[1].Value,
Port = int.Parse(match.Groups[1].Value),
IsAlive = true,
HasHttpOpen = "80".Equals(match.Groups[1].Value) || "443".Equals(match.Groups[1].Value)
return new ScriptOutput();

Check the Readme on GitHub to know more about the Script.

Naabu Dockerfile Entry

# -------- Agents dependencies --------
# To allow run naabu inside the docker
RUN apt-get update && apt-get install -y git wget
RUN wget
RUN tar -C /usr/local -xzf go1.14.6.linux-amd64.tar.gz
RUN /usr/local/go/bin/go get -v
# -------- End Agents dependencies --------

Naabu Command for Docker

/root/go/bin/naabu -host {{domain}} -silent