naabu icon indicating copy to clipboard operation
naabu copied to clipboard

ARP causing host discovery to fail on LAN

Open Mzack9999 opened this issue 1 year ago • 1 comments

Naabu version:

main|dev

Current Behavior:

Host discovery failing on local networks during SDK execution (probably same root cause of https://github.com/projectdiscovery/naabu/issues/1162)

$ echo 192.168.5.0/24 | sudo go run samplewitharp.go

                  __
  ___  ___  ___ _/ /  __ __
 / _ \/ _ \/ _ \/ _ \/ // /
/_//_/\_,_/\_,_/_.__/\_,_/

                projectdiscovery.io

[INF] Current naabu version 2.3.1 (latest)
[INF] Running host discovery scan
[INF] Running SYN scan with CAP_NET_RAW privileges
[FTL] Could not run enumeration: no valid ipv4 or ipv6 targets were found
exit status 1

Expected Behavior:

Performing ARP discovery and in case of no results continuing with standard TCP probes

Steps To Reproduce:

This is reproducible with naabu runner as well:

$ echo 192.168.5.0/24 | sudo naabu

Mzack9999 avatar Sep 03 '24 16:09 Mzack9999

Hi, is anyone currently working on this? If not, I’d like to take a shot at fixing it.

oxqnd avatar Jul 31 '25 14:07 oxqnd