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 wget
RUN tar -xvf naabu_2.0.2_linux_amd64.tar.gz
# -------- End Agents dependencies --------

Naabu Command for Docker

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