From 0aa3c459b0479310c5b5263cbb4eb6b87bd9b9b9 Mon Sep 17 00:00:00 2001 From: "Gabriel M. Dutra" Date: Fri, 18 Apr 2025 02:10:17 -0300 Subject: [PATCH] security/naabu: Add new port Port scanner written in go with a focus on reliability and simplicity --- security/Makefile | 1 + security/naabu/Makefile | 19 +++++++++++++++++++ security/naabu/distinfo | 5 +++++ security/naabu/pkg-descr | 16 ++++++++++++++++ 4 files changed, 41 insertions(+) create mode 100644 security/naabu/Makefile create mode 100644 security/naabu/distinfo create mode 100644 security/naabu/pkg-descr diff --git a/security/Makefile b/security/Makefile index 2faee5ef6dc5..9c3ca9de2ded 100644 --- a/security/Makefile +++ b/security/Makefile @@ -395,6 +395,7 @@ SUBDIR += monocypher SUBDIR += munge SUBDIR += n2n + SUBDIR += naabu SUBDIR += ncrack SUBDIR += ncrypt SUBDIR += nebula diff --git a/security/naabu/Makefile b/security/naabu/Makefile new file mode 100644 index 000000000000..2a4dd1621e14 --- /dev/null +++ b/security/naabu/Makefile @@ -0,0 +1,19 @@ +PORTNAME= naabu +DISTVERSIONPREFIX= v +DISTVERSION= 2.3.4 +CATEGORIES= security + +MAINTAINER= dutra@FreeBSD.org +COMMENT= Port scanning tool +WWW= https://github.com/projectdiscovery/naabu + +LICENSE= MIT + +USES= go:1.23,modules +GO_MODULE= github.com/projectdiscovery/naabu/v2 + +GO_TARGET= ./cmd/${PORTNAME} + +PLIST_FILES= bin/${PORTNAME} + +.include diff --git a/security/naabu/distinfo b/security/naabu/distinfo new file mode 100644 index 000000000000..95692c03c54d --- /dev/null +++ b/security/naabu/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1744947331 +SHA256 (go/security_naabu/naabu-v2.3.4/v2.3.4.mod) = 37477fafd0b3b04592d1c7104ddf9dfafe87d579bb2cc3dcab93621b9549b283 +SIZE (go/security_naabu/naabu-v2.3.4/v2.3.4.mod) = 6288 +SHA256 (go/security_naabu/naabu-v2.3.4/v2.3.4.zip) = 534e0e1318f8a4fb7fee5db3b3d2f6537145beb4037958d6df4a68e69de6ee0d +SIZE (go/security_naabu/naabu-v2.3.4/v2.3.4.zip) = 506886 diff --git a/security/naabu/pkg-descr b/security/naabu/pkg-descr new file mode 100644 index 000000000000..bb84bbb95f51 --- /dev/null +++ b/security/naabu/pkg-descr @@ -0,0 +1,16 @@ +Port scanning tool written in Go that allows you to enumerate valid +ports for hosts in a fast and reliable manner. It is a really simple +tool that does fast SYN/CONNECT/UDP scans on the host/list of hosts +and lists all ports that return a reply. + +Features + - Fast And Simple SYN/CONNECT/UDP probe based scanning + - Optimized for ease of use and lightweight on resources + - DNS Port scan + - Automatic IP Deduplication for DNS port scan + - IPv4/IPv6 Port scan (experimental) + - Passive Port enumeration using Shodan Internetdb + - Host Discovery scan (experimental) + - NMAP integration for service discovery + - Multiple input support - STDIN/HOST/IP/CIDR/ASN + - Multiple output format support - JSON/TXT/STDOUT