Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any IPv6 Scanning Fails with 'No valid ipv4 or ipv6 targets were found' error #1199

Open
nightshiba opened this issue Sep 8, 2024 · 2 comments
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@nightshiba
Copy link

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):
image

2nd machine (laptop):
image

image

Expected Behavior:

The command should successfully run without errors, scanning the specified IPv6 addresses and domain names.

Steps To Reproduce:

  1. Execute the command naabu -r '2001:4860:4860::8888' -p 80,443 -host '2001:4860:4860::8888' -json -debug on a system with naabu version 2.3.1.
  2. Observe the failure to process the command as shown in the provided screenshots (443 port is not detected).
@nightshiba nightshiba added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Sep 8, 2024
@nightshiba
Copy link
Author

Seems to be related to the following issue - #1113 (comment)
Image

@nightshiba
Copy link
Author

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

CC @dogancanbakir @Mzack9999

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

No branches or pull requests

1 participant