Any IPv6 Scanning Fails with 'No valid ipv4 or ipv6 targets were found' error #1254
Closed
nightshiba
started this conversation in
General
Replies: 3 comments
-
|
Seems to be related to the following issue - #1113 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
You can reproduce it on Scaleway's instance (DEV1-S, Debian 12) by running: wget https://go.dev/dl/go1.23.2.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.23.2.linux-amd64.tar.gz
apt update
apt install -y libpcap-dev build-essential
CGO_ENABLED=1 go install -v github.com/projectdiscovery/naabu/v2/cmd/naabu@latest
./go/bin/naabu -p 80,443,22 -host '2001:4860:4860::8888' -json -debug |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I found that the command works when I specify the IP version with naabu -p 80,443,22 -host 'ipv6.google.com' -debug -iv 6It’s surprising that Naabu doesn’t detect the IP version automatically from the target.. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Naabu version:
2.3.1 (latest)
Current Behavior:
I am encountering an issue where the command "naabu -r '2001:4860:4860::8888' -p 80,443 -host '2001:4860:4860::8888' -json -debug" fails to execute properly. This behavior is consistent across different IPv6 addresses and domain names. Below are screenshots showing the error on two different machines:
1st machine (VPS):

2nd machine (laptop):

Expected Behavior:
The command should successfully run without errors, scanning the specified IPv6 addresses and domain names.
Steps To Reproduce:
naabu -r '2001:4860:4860::8888' -p 80,443 -host '2001:4860:4860::8888' -json -debugon a system with naabu version 2.3.1.Beta Was this translation helpful? Give feedback.
All reactions