-
Notifications
You must be signed in to change notification settings - Fork 517
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
No valid ipv4 or ipv6 targets were found when running as root in Ubuntu on certain hosts #1060
Comments
In the same track, I also noticed an erratic behaviour when scanning as
It seems there's something wonky going on when using the SYN scan as |
@fededamian I tried a few times but unable to reproduce. Could you try by skipping the host discovery part ( |
@Mzack9999, skipping the host discovery solves the problem, which is what I've done as a workaround. Let me know if there is some debugging output or additional logs or data I could share that may help. It's a pretty standard deployment (EC2, Ubuntu, naabu), I am surprised the behavior is not triggered in other devices. |
I'm hitting what seems to be a potentially related issue:
|
same for me except I am not running on EC2 but on Qubes (Arch Template). Workaround for me is to add the DNS server from |
Naabu version:
2.3.0
Current Behavior:
When running naabu as root against certain hosts, it returns the
[FTL] Could not run enumeration: no valid ipv4 or ipv6 targets were found
error, although this works fine when running as a regular user and the domain successfully resolves usinghost
ordig
. The example of a host in which the scan fails iswww.medallia.com
, I noticed that other hosts such aswww.cisco.com
orwww.google.com
do not trigger this issue.sudo apt-get install libpcap-dev; go install -v github.com/projectdiscovery/naabu/v2/cmd/naabu@latest
Running as Root
Running as User
Expected Behavior:
The expected behavior is a completed portscan when using naabu as the root user.
Steps To Reproduce:
sudo -i
.naabu -host www.medallia.com
[FTL] Could not run enumeration: no valid ipv4 or ipv6 targets were found
The text was updated successfully, but these errors were encountered: