Dnsprobe Agent Setup for port scanning tool

Naabu Command

Using {{domain}} ReconNess replace {{domain}} for the subdomain.
./naabu -host {{domain}} -silent
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 wget
RUN tar -xvf naabu-linux-amd64.tar.gz
RUN cp naabu-linux-amd64 /usr/local/bin/naabu
# -------- End Agents dependencies --------

Naabu Command for Docker

naabu -host {{domain}} -silent