From b7e269425ae9430d5c686f29bd6afb6c71f80243 Mon Sep 17 00:00:00 2001 From: mzack Date: Wed, 2 Aug 2023 19:56:52 +0200 Subject: [PATCH] imports --- .github/ISSUE_TEMPLATE/config.yml | 4 ++-- .github/ISSUE_TEMPLATE/feature_request.md | 2 +- .github/ISSUE_TEMPLATE/issue-report.md | 4 ++-- README.md | 18 +++++++++--------- v2/cmd/functional-test/main.go | 2 +- v2/cmd/functional-test/run.sh | 2 +- v2/cmd/integration-test/integration-test.go | 2 +- v2/cmd/integration-test/library.go | 6 +++--- v2/cmd/naabu/main.go | 2 +- v2/go.mod | 2 +- v2/pkg/port/port.go | 2 +- v2/pkg/privileges/privileges_linux.go | 2 +- v2/pkg/result/results.go | 2 +- v2/pkg/result/results_test.go | 4 ++-- v2/pkg/runner/banners.go | 6 +++--- v2/pkg/runner/healthcheck.go | 2 +- v2/pkg/runner/nmap.go | 2 +- v2/pkg/runner/nmap_test.go | 8 ++++---- v2/pkg/runner/options.go | 4 ++-- v2/pkg/runner/output.go | 2 +- v2/pkg/runner/output_test.go | 4 ++-- v2/pkg/runner/ports.go | 4 ++-- v2/pkg/runner/ports_test.go | 4 ++-- v2/pkg/runner/runner.go | 13 ++++++------- v2/pkg/runner/targets.go | 4 ++-- v2/pkg/runner/targets_test.go | 2 +- v2/pkg/runner/validate.go | 2 +- v2/pkg/scan/connect.go | 2 +- v2/pkg/scan/connect_test.go | 4 ++-- v2/pkg/scan/scan.go | 10 +++++----- v2/pkg/scan/scan_unix.go | 6 +++--- 31 files changed, 66 insertions(+), 67 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 52259171..d541afb8 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -2,11 +2,11 @@ blank_issues_enabled: false contact_links: - name: Ask an question / advise on using naabu - url: https://github.com/projectdiscovery/naabu/discussions/categories/q-a + url: https://github.com/Mzack9999/naabu/discussions/categories/q-a about: Ask a question or request support for using naabu - name: Share idea / feature to discuss for naabu - url: https://github.com/projectdiscovery/naabu/discussions/categories/ideas + url: https://github.com/Mzack9999/naabu/discussions/categories/ideas about: Share idea / feature to discuss for naabu - name: Connect with PD Team (Discord) diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 0e083553..a3f39110 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -7,7 +7,7 @@ labels: 'Type: Enhancement' diff --git a/.github/ISSUE_TEMPLATE/issue-report.md b/.github/ISSUE_TEMPLATE/issue-report.md index 5b9f7136..d4bca9c2 100644 --- a/.github/ISSUE_TEMPLATE/issue-report.md +++ b/.github/ISSUE_TEMPLATE/issue-report.md @@ -7,7 +7,7 @@ labels: 'Type: Bug' @@ -16,7 +16,7 @@ labels: 'Type: Bug' ### Naabu version: - + ### Current Behavior: diff --git a/README.md b/README.md index 0314cee9..67e47dd4 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@

- - - + + +

@@ -131,7 +131,7 @@ DEBUG: # Installation Instructions -Download the ready to run [binary](https://github.com/projectdiscovery/naabu/releases/) / [docker](https://hub.docker.com/r/projectdiscovery/naabu) or install with GO +Download the ready to run [binary](https://github.com/Mzack9999/naabu/releases/) / [docker](https://hub.docker.com/r/projectdiscovery/naabu) or install with GO ## Prerequisite @@ -143,7 +143,7 @@ To install libcap on **Linux**: `sudo apt install -y libpcap-dev`, on **Mac**: ` ## Installing Naabu ```sh -go install -v github.com/projectdiscovery/naabu/v2/cmd/naabu@latest +go install -v github.com/Mzack9999/naabu/v2/cmd/naabu@latest ``` # Running Naabu @@ -359,8 +359,8 @@ import ( "log" "github.com/projectdiscovery/goflags" - "github.com/projectdiscovery/naabu/v2/pkg/result" - "github.com/projectdiscovery/naabu/v2/pkg/runner" + "github.com/Mzack9999/naabu/v2/pkg/result" + "github.com/Mzack9999/naabu/v2/pkg/runner" ) func main() { @@ -385,7 +385,7 @@ func main() { # Notes -- Naabu allows arbitrary binary execution as a feature to support [nmap integration](https://github.com/projectdiscovery/naabu#nmap-integration). +- Naabu allows arbitrary binary execution as a feature to support [nmap integration](https://github.com/Mzack9999/naabu#nmap-integration). - Naabu is designed to scan ports on multiple hosts / mass port scanning. - As default naabu is configured with a assumption that you are running it from VPS. - We suggest tuning the flags / rate if running naabu from local system. @@ -395,4 +395,4 @@ func main() { Naabu is made with 🖤 by the [projectdiscovery](https://projectdiscovery.io) team. Community contributions have made the project what it is. -See the **[Thanks.md](https://github.com/projectdiscovery/naabu/blob/master/THANKS.md)** file for more details. +See the **[Thanks.md](https://github.com/Mzack9999/naabu/blob/master/THANKS.md)** file for more details. diff --git a/v2/cmd/functional-test/main.go b/v2/cmd/functional-test/main.go index b3e42e3a..3b7de54f 100644 --- a/v2/cmd/functional-test/main.go +++ b/v2/cmd/functional-test/main.go @@ -11,7 +11,7 @@ import ( "github.com/logrusorgru/aurora" "github.com/pkg/errors" - "github.com/projectdiscovery/naabu/v2/internal/testutils" + "github.com/Mzack9999/naabu/v2/internal/testutils" ) var ( diff --git a/v2/cmd/functional-test/run.sh b/v2/cmd/functional-test/run.sh index 70dba573..38095589 100755 --- a/v2/cmd/functional-test/run.sh +++ b/v2/cmd/functional-test/run.sh @@ -7,7 +7,7 @@ echo 'Building NAABU binary from current branch' go build -o naabu_dev ../naabu echo 'Installing latest release of NAABU' -GO111MODULE=on go build -v github.com/projectdiscovery/naabu/v2/cmd/naabu +GO111MODULE=on go build -v github.com/Mzack9999/naabu/v2/cmd/naabu echo 'Starting NAABU functional test' ./functional-test -main ./naabu -dev ./naabu_dev -testcases testcases.txt diff --git a/v2/cmd/integration-test/integration-test.go b/v2/cmd/integration-test/integration-test.go index 24f221b4..c4f3684a 100644 --- a/v2/cmd/integration-test/integration-test.go +++ b/v2/cmd/integration-test/integration-test.go @@ -5,8 +5,8 @@ import ( "os" "strings" + "github.com/Mzack9999/naabu/v2/internal/testutils" "github.com/logrusorgru/aurora" - "github.com/projectdiscovery/naabu/v2/internal/testutils" ) var ( diff --git a/v2/cmd/integration-test/library.go b/v2/cmd/integration-test/library.go index e9961d9b..db5dc0d3 100644 --- a/v2/cmd/integration-test/library.go +++ b/v2/cmd/integration-test/library.go @@ -3,9 +3,9 @@ package main import ( "os" - "github.com/projectdiscovery/naabu/v2/internal/testutils" - "github.com/projectdiscovery/naabu/v2/pkg/result" - "github.com/projectdiscovery/naabu/v2/pkg/runner" + "github.com/Mzack9999/naabu/v2/internal/testutils" + "github.com/Mzack9999/naabu/v2/pkg/result" + "github.com/Mzack9999/naabu/v2/pkg/runner" ) var libraryTestcases = map[string]testutils.TestCase{ diff --git a/v2/cmd/naabu/main.go b/v2/cmd/naabu/main.go index 8b985aa2..1f254f96 100644 --- a/v2/cmd/naabu/main.go +++ b/v2/cmd/naabu/main.go @@ -1,9 +1,9 @@ package main import ( + "github.com/Mzack9999/naabu/v2/pkg/runner" _ "github.com/projectdiscovery/fdmax/autofdmax" "github.com/projectdiscovery/gologger" - "github.com/projectdiscovery/naabu/v2/pkg/runner" "os" "os/signal" ) diff --git a/v2/go.mod b/v2/go.mod index c3c66ad3..e7e9ade1 100644 --- a/v2/go.mod +++ b/v2/go.mod @@ -20,7 +20,6 @@ require ( github.com/projectdiscovery/mapcidr v1.1.1 github.com/projectdiscovery/networkpolicy v0.0.5 github.com/projectdiscovery/ratelimit v0.0.6 - github.com/projectdiscovery/retryablehttp-go v1.0.15 github.com/projectdiscovery/utils v0.0.25 github.com/remeh/sizedwaitgroup v1.0.0 github.com/stretchr/testify v1.8.2 @@ -70,6 +69,7 @@ require ( github.com/projectdiscovery/asnmap v1.0.3 // indirect github.com/projectdiscovery/hmap v0.0.11 // indirect github.com/projectdiscovery/retryabledns v1.0.23 // indirect + github.com/projectdiscovery/retryablehttp-go v1.0.15 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d // indirect github.com/syndtr/goleveldb v1.0.0 // indirect diff --git a/v2/pkg/port/port.go b/v2/pkg/port/port.go index e2b84830..7ce5d6ed 100644 --- a/v2/pkg/port/port.go +++ b/v2/pkg/port/port.go @@ -3,7 +3,7 @@ package port import ( "fmt" - "github.com/projectdiscovery/naabu/v2/pkg/protocol" + "github.com/Mzack9999/naabu/v2/pkg/protocol" ) type Port struct { diff --git a/v2/pkg/privileges/privileges_linux.go b/v2/pkg/privileges/privileges_linux.go index 15a51bb4..de3f3b67 100644 --- a/v2/pkg/privileges/privileges_linux.go +++ b/v2/pkg/privileges/privileges_linux.go @@ -6,7 +6,7 @@ import ( "os" "runtime" - "github.com/projectdiscovery/naabu/v2/pkg/israce" + "github.com/Mzack9999/naabu/v2/pkg/israce" "golang.org/x/sys/unix" ) diff --git a/v2/pkg/result/results.go b/v2/pkg/result/results.go index 2c03d173..caacbf63 100644 --- a/v2/pkg/result/results.go +++ b/v2/pkg/result/results.go @@ -3,7 +3,7 @@ package result import ( "sync" - "github.com/projectdiscovery/naabu/v2/pkg/port" + "github.com/Mzack9999/naabu/v2/pkg/port" "golang.org/x/exp/maps" ) diff --git a/v2/pkg/result/results_test.go b/v2/pkg/result/results_test.go index 90fc07c6..41720c97 100644 --- a/v2/pkg/result/results_test.go +++ b/v2/pkg/result/results_test.go @@ -3,8 +3,8 @@ package result import ( "testing" - "github.com/projectdiscovery/naabu/v2/pkg/port" - "github.com/projectdiscovery/naabu/v2/pkg/protocol" + "github.com/Mzack9999/naabu/v2/pkg/port" + "github.com/Mzack9999/naabu/v2/pkg/protocol" "github.com/stretchr/testify/assert" ) diff --git a/v2/pkg/runner/banners.go b/v2/pkg/runner/banners.go index 59031563..8ac972ef 100644 --- a/v2/pkg/runner/banners.go +++ b/v2/pkg/runner/banners.go @@ -4,9 +4,9 @@ import ( "net" "strings" + "github.com/Mzack9999/naabu/v2/pkg/privileges" + "github.com/Mzack9999/naabu/v2/pkg/scan" "github.com/projectdiscovery/gologger" - "github.com/projectdiscovery/naabu/v2/pkg/privileges" - "github.com/projectdiscovery/naabu/v2/pkg/scan" osutil "github.com/projectdiscovery/utils/os" updateutils "github.com/projectdiscovery/utils/update" ) @@ -96,4 +96,4 @@ func GetUpdateCallback() func() { showBanner() updateutils.GetUpdateToolCallback("naabu", version)() } -} \ No newline at end of file +} diff --git a/v2/pkg/runner/healthcheck.go b/v2/pkg/runner/healthcheck.go index b86abd90..ba21f047 100644 --- a/v2/pkg/runner/healthcheck.go +++ b/v2/pkg/runner/healthcheck.go @@ -6,8 +6,8 @@ import ( "runtime" "strings" + "github.com/Mzack9999/naabu/v2/pkg/privileges" "github.com/projectdiscovery/goflags" - "github.com/projectdiscovery/naabu/v2/pkg/privileges" fileutil "github.com/projectdiscovery/utils/file" ) diff --git a/v2/pkg/runner/nmap.go b/v2/pkg/runner/nmap.go index 5fdb655e..2ee77f0c 100644 --- a/v2/pkg/runner/nmap.go +++ b/v2/pkg/runner/nmap.go @@ -9,8 +9,8 @@ import ( "github.com/pkg/errors" + "github.com/Mzack9999/naabu/v2/pkg/result" "github.com/projectdiscovery/gologger" - "github.com/projectdiscovery/naabu/v2/pkg/result" osutil "github.com/projectdiscovery/utils/os" ) diff --git a/v2/pkg/runner/nmap_test.go b/v2/pkg/runner/nmap_test.go index fbf221ae..3e93aae6 100644 --- a/v2/pkg/runner/nmap_test.go +++ b/v2/pkg/runner/nmap_test.go @@ -3,10 +3,10 @@ package runner import ( "testing" - "github.com/projectdiscovery/naabu/v2/pkg/port" - "github.com/projectdiscovery/naabu/v2/pkg/protocol" - "github.com/projectdiscovery/naabu/v2/pkg/result" - "github.com/projectdiscovery/naabu/v2/pkg/scan" + "github.com/Mzack9999/naabu/v2/pkg/port" + "github.com/Mzack9999/naabu/v2/pkg/protocol" + "github.com/Mzack9999/naabu/v2/pkg/result" + "github.com/Mzack9999/naabu/v2/pkg/scan" "github.com/stretchr/testify/assert" ) diff --git a/v2/pkg/runner/options.go b/v2/pkg/runner/options.go index 47682900..ad3feb47 100644 --- a/v2/pkg/runner/options.go +++ b/v2/pkg/runner/options.go @@ -4,8 +4,8 @@ import ( "os" "time" - "github.com/projectdiscovery/naabu/v2/pkg/privileges" - "github.com/projectdiscovery/naabu/v2/pkg/result" + "github.com/Mzack9999/naabu/v2/pkg/privileges" + "github.com/Mzack9999/naabu/v2/pkg/result" fileutil "github.com/projectdiscovery/utils/file" "github.com/projectdiscovery/goflags" diff --git a/v2/pkg/runner/output.go b/v2/pkg/runner/output.go index 52d3e5e1..8749f510 100644 --- a/v2/pkg/runner/output.go +++ b/v2/pkg/runner/output.go @@ -11,8 +11,8 @@ import ( "strings" "time" + "github.com/Mzack9999/naabu/v2/pkg/port" "github.com/pkg/errors" - "github.com/projectdiscovery/naabu/v2/pkg/port" ) // Result contains the result for a host diff --git a/v2/pkg/runner/output_test.go b/v2/pkg/runner/output_test.go index fa40d58a..3f5e5d75 100644 --- a/v2/pkg/runner/output_test.go +++ b/v2/pkg/runner/output_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - "github.com/projectdiscovery/naabu/v2/pkg/port" - "github.com/projectdiscovery/naabu/v2/pkg/protocol" + "github.com/Mzack9999/naabu/v2/pkg/port" + "github.com/Mzack9999/naabu/v2/pkg/protocol" "github.com/stretchr/testify/assert" ) diff --git a/v2/pkg/runner/ports.go b/v2/pkg/runner/ports.go index 3859f426..2c4d874c 100644 --- a/v2/pkg/runner/ports.go +++ b/v2/pkg/runner/ports.go @@ -6,9 +6,9 @@ import ( "strconv" "strings" + "github.com/Mzack9999/naabu/v2/pkg/port" + "github.com/Mzack9999/naabu/v2/pkg/protocol" "github.com/pkg/errors" - "github.com/projectdiscovery/naabu/v2/pkg/port" - "github.com/projectdiscovery/naabu/v2/pkg/protocol" ) const portListStrParts = 2 diff --git a/v2/pkg/runner/ports_test.go b/v2/pkg/runner/ports_test.go index 7b07e41b..eb3a1840 100644 --- a/v2/pkg/runner/ports_test.go +++ b/v2/pkg/runner/ports_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/projectdiscovery/naabu/v2/pkg/port" - "github.com/projectdiscovery/naabu/v2/pkg/protocol" + "github.com/Mzack9999/naabu/v2/pkg/port" + "github.com/Mzack9999/naabu/v2/pkg/protocol" "github.com/stretchr/testify/assert" ) diff --git a/v2/pkg/runner/runner.go b/v2/pkg/runner/runner.go index 0fa4b8ae..ba5720e5 100644 --- a/v2/pkg/runner/runner.go +++ b/v2/pkg/runner/runner.go @@ -13,6 +13,11 @@ import ( "sync" "time" + "github.com/Mzack9999/naabu/v2/pkg/port" + "github.com/Mzack9999/naabu/v2/pkg/privileges" + "github.com/Mzack9999/naabu/v2/pkg/protocol" + "github.com/Mzack9999/naabu/v2/pkg/result" + "github.com/Mzack9999/naabu/v2/pkg/scan" "github.com/miekg/dns" "github.com/pkg/errors" "github.com/projectdiscovery/blackrock" @@ -20,13 +25,7 @@ import ( "github.com/projectdiscovery/dnsx/libs/dnsx" "github.com/projectdiscovery/gologger" "github.com/projectdiscovery/mapcidr" - "github.com/projectdiscovery/naabu/v2/pkg/port" - "github.com/projectdiscovery/naabu/v2/pkg/privileges" - "github.com/projectdiscovery/naabu/v2/pkg/protocol" - "github.com/projectdiscovery/naabu/v2/pkg/result" - "github.com/projectdiscovery/naabu/v2/pkg/scan" "github.com/projectdiscovery/ratelimit" - "github.com/projectdiscovery/retryablehttp-go" // "github.com/projectdiscovery/uncover/uncover/agent/shodanidb" fileutil "github.com/projectdiscovery/utils/file" @@ -255,7 +254,7 @@ func (r *Runner) RunEnumeration() error { case r.options.Stream && r.options.Passive: // stream passive showNetworkCapabilities(r.options) // create retryablehttp instance - httpClient := retryablehttp.NewClient(retryablehttp.DefaultOptionsSingle) + // httpClient := retryablehttp.NewClient(retryablehttp.DefaultOptionsSingle) r.scanner.Phase.Set(scan.Scan) for cidr := range r.streamChannel { if err := r.scanner.IPRanger.Add(cidr.String()); err != nil { diff --git a/v2/pkg/runner/targets.go b/v2/pkg/runner/targets.go index 840f8153..54835244 100644 --- a/v2/pkg/runner/targets.go +++ b/v2/pkg/runner/targets.go @@ -9,10 +9,10 @@ import ( "os" "strings" + "github.com/Mzack9999/naabu/v2/pkg/privileges" + "github.com/Mzack9999/naabu/v2/pkg/scan" "github.com/projectdiscovery/gologger" "github.com/projectdiscovery/mapcidr/asn" - "github.com/projectdiscovery/naabu/v2/pkg/privileges" - "github.com/projectdiscovery/naabu/v2/pkg/scan" iputil "github.com/projectdiscovery/utils/ip" readerutil "github.com/projectdiscovery/utils/reader" "github.com/remeh/sizedwaitgroup" diff --git a/v2/pkg/runner/targets_test.go b/v2/pkg/runner/targets_test.go index 7791f5c5..06e18bf8 100644 --- a/v2/pkg/runner/targets_test.go +++ b/v2/pkg/runner/targets_test.go @@ -3,8 +3,8 @@ package runner import ( "testing" + "github.com/Mzack9999/naabu/v2/pkg/scan" "github.com/projectdiscovery/ipranger" - "github.com/projectdiscovery/naabu/v2/pkg/scan" "github.com/stretchr/testify/require" ) diff --git a/v2/pkg/runner/validate.go b/v2/pkg/runner/validate.go index 2f569061..ab8b57c0 100644 --- a/v2/pkg/runner/validate.go +++ b/v2/pkg/runner/validate.go @@ -6,8 +6,8 @@ import ( "net" "strings" + "github.com/Mzack9999/naabu/v2/pkg/privileges" "github.com/pkg/errors" - "github.com/projectdiscovery/naabu/v2/pkg/privileges" fileutil "github.com/projectdiscovery/utils/file" iputil "github.com/projectdiscovery/utils/ip" osutil "github.com/projectdiscovery/utils/os" diff --git a/v2/pkg/scan/connect.go b/v2/pkg/scan/connect.go index adac9507..76ec454d 100644 --- a/v2/pkg/scan/connect.go +++ b/v2/pkg/scan/connect.go @@ -4,8 +4,8 @@ import ( "fmt" "net" + "github.com/Mzack9999/naabu/v2/pkg/port" "github.com/projectdiscovery/gologger" - "github.com/projectdiscovery/naabu/v2/pkg/port" ) // ConnectVerify is used to verify if ports are accurate using a connect request diff --git a/v2/pkg/scan/connect_test.go b/v2/pkg/scan/connect_test.go index ef2cabbf..4f66452c 100644 --- a/v2/pkg/scan/connect_test.go +++ b/v2/pkg/scan/connect_test.go @@ -4,8 +4,8 @@ import ( "net" "testing" - "github.com/projectdiscovery/naabu/v2/pkg/port" - "github.com/projectdiscovery/naabu/v2/pkg/protocol" + "github.com/Mzack9999/naabu/v2/pkg/port" + "github.com/Mzack9999/naabu/v2/pkg/protocol" "github.com/stretchr/testify/assert" ) diff --git a/v2/pkg/scan/scan.go b/v2/pkg/scan/scan.go index 136d75bf..2ed5b556 100644 --- a/v2/pkg/scan/scan.go +++ b/v2/pkg/scan/scan.go @@ -12,17 +12,17 @@ import ( "sync" "time" + "github.com/Mzack9999/naabu/v2/pkg/port" + "github.com/Mzack9999/naabu/v2/pkg/privileges" + "github.com/Mzack9999/naabu/v2/pkg/protocol" + "github.com/Mzack9999/naabu/v2/pkg/result" + "github.com/Mzack9999/naabu/v2/pkg/routing" "github.com/google/gopacket" "github.com/google/gopacket/layers" "github.com/projectdiscovery/cdncheck" "github.com/projectdiscovery/freeport" "github.com/projectdiscovery/gologger" "github.com/projectdiscovery/ipranger" - "github.com/projectdiscovery/naabu/v2/pkg/port" - "github.com/projectdiscovery/naabu/v2/pkg/privileges" - "github.com/projectdiscovery/naabu/v2/pkg/protocol" - "github.com/projectdiscovery/naabu/v2/pkg/result" - "github.com/projectdiscovery/naabu/v2/pkg/routing" "github.com/projectdiscovery/networkpolicy" iputil "github.com/projectdiscovery/utils/ip" "golang.org/x/net/icmp" diff --git a/v2/pkg/scan/scan_unix.go b/v2/pkg/scan/scan_unix.go index 70ee3448..dfa02019 100644 --- a/v2/pkg/scan/scan_unix.go +++ b/v2/pkg/scan/scan_unix.go @@ -11,14 +11,14 @@ import ( "sync" "time" + "github.com/Mzack9999/naabu/v2/pkg/port" + "github.com/Mzack9999/naabu/v2/pkg/protocol" + "github.com/Mzack9999/naabu/v2/pkg/routing" "github.com/google/gopacket" "github.com/google/gopacket/layers" "github.com/google/gopacket/pcap" "github.com/projectdiscovery/freeport" "github.com/projectdiscovery/gologger" - "github.com/projectdiscovery/naabu/v2/pkg/port" - "github.com/projectdiscovery/naabu/v2/pkg/protocol" - "github.com/projectdiscovery/naabu/v2/pkg/routing" "golang.org/x/net/icmp" )