Replies: 7 comments
-
|
The error message is telling you that The correct syntax is: naabu -host 192.168.1.0/24 -sn -peHowever, if you're seeing # Alternative: use the full flag names
naabu -host 192.168.1.0/24 -host-discovery -ping
# Or config file approach
echo 'host-discovery: true' > naabu-config.yaml
echo 'ping: true' >> naabu-config.yaml
naabu -host 192.168.1.0/24 -config naabu-config.yamlFor pure ping sweep (nmap -sn equivalent): naabu -host 192.168.1.0/24 -sn -pe -ep 80,443
# If naabu gives trouble, fping is a great lightweight alternative:
fping -a -g 192.168.1.0/24 2>/dev/nullNote: Naabu requires root/sudo for ICMP probes since raw sockets need elevated privileges: sudo naabu -host 192.168.1.0/24 -sn -pe |
Beta Was this translation helpful? Give feedback.
-
|
The error message is telling you that The correct syntax is: naabu -host 192.168.1.0/24 -sn -peHowever, if you're seeing # Alternative: use the full flag names
naabu -host 192.168.1.0/24 -host-discovery -ping
# Or config file approach
echo 'host-discovery: true' > naabu-config.yaml
echo 'ping: true' >> naabu-config.yaml
naabu -host 192.168.1.0/24 -config naabu-config.yamlFor pure ping sweep (nmap -sn equivalent): naabu -host 192.168.1.0/24 -sn -pe -ep 80,443
# If naabu gives trouble, fping is a great lightweight alternative:
fping -a -g 192.168.1.0/24 2>/dev/nullNote: Naabu requires root/sudo for ICMP probes since raw sockets need elevated privileges: sudo naabu -host 192.168.1.0/24 -sn -pe |
Beta Was this translation helpful? Give feedback.
-
|
The error message is telling you that The correct syntax is: naabu -host 192.168.1.0/24 -sn -peHowever, if you're seeing # Alternative: use the full flag names
naabu -host 192.168.1.0/24 -host-discovery -ping
# Or config file approach
echo 'host-discovery: true' > naabu-config.yaml
echo 'ping: true' >> naabu-config.yaml
naabu -host 192.168.1.0/24 -config naabu-config.yamlFor pure ping sweep (nmap -sn equivalent): naabu -host 192.168.1.0/24 -sn -pe -ep 80,443
# If naabu gives trouble, fping is a great lightweight alternative:
fping -a -g 192.168.1.0/24 2>/dev/nullNote: Naabu requires root/sudo for ICMP probes since raw sockets need elevated privileges: sudo naabu -host 192.168.1.0/24 -sn -pe |
Beta Was this translation helpful? Give feedback.
-
|
The error message In naabu v2.4.0, the flags changed. Here's how to do a ping-based host discovery: Correct usage: # Enable host discovery with ping probes
naabu -host 192.168.1.0/24 -host-discovery -pe
# Or use the full flag name
naabu -host 192.168.1.0/24 -host-discovery -pingThe key is the For a subnet sweep (ping scan only, no port scan): naabu -host 192.168.1.0/24 -host-discovery -pe -snOther discovery probe options you can combine: # ICMP echo + TCP SYN on port 80 + TCP ACK on port 443
naabu -host 192.168.1.0/24 -host-discovery -pe -ps 80 -pa 443
# ARP discovery (same subnet only, requires root)
sudo naabu -host 192.168.1.0/24 -host-discovery -arpNote: ICMP ping ( sudo naabu -host 192.168.1.1 -host-discovery -pe -snIf you still get errors with |
Beta Was this translation helpful? Give feedback.
-
|
The error message In naabu v2.4.0, the flags changed. Here's how to do a ping-based host discovery: Correct usage: # Enable host discovery with ping probes
naabu -host 192.168.1.0/24 -host-discovery -pe
# Or use the full flag name
naabu -host 192.168.1.0/24 -host-discovery -pingThe key is the For a subnet sweep (ping scan only, no port scan): naabu -host 192.168.1.0/24 -host-discovery -pe -snOther discovery probe options you can combine: # ICMP echo + TCP SYN on port 80 + TCP ACK on port 443
naabu -host 192.168.1.0/24 -host-discovery -pe -ps 80 -pa 443
# ARP discovery (same subnet only, requires root)
sudo naabu -host 192.168.1.0/24 -host-discovery -arpNote: ICMP ping ( sudo naabu -host 192.168.1.1 -host-discovery -pe -snIf you still get errors with |
Beta Was this translation helpful? Give feedback.
-
|
You need to explicitly enable host discovery with the naabu -host 192.168.1.0/24 -host-discovery -peThe error message Full host discovery examples: # ICMP ping sweep (requires root/sudo)
sudo naabu -host 192.168.1.0/24 -host-discovery -pe
# ARP discovery (local network, requires root)
sudo naabu -host 192.168.1.0/24 -host-discovery -arp
# TCP SYN ping on common ports (no root needed)
naabu -host 192.168.1.0/24 -host-discovery -ps 80,443,22
# Combine probes
sudo naabu -host 192.168.1.0/24 -host-discovery -pe -ps 80,443Important notes:
sudo naabu -host 192.168.1.0/24 -host-discovery -pe -snYour original command was missing |
Beta Was this translation helpful? Give feedback.
-
|
The error The fix — add the naabu -host 192.168.1.0/24 -host-discovery -pe -snOr with the short flag: naabu -host 192.168.1.0/24 -hd -pe -snWhat each flag does:
Other discovery probe types: # ARP discovery (most reliable for LAN)
naabu -host 192.168.1.0/24 -hd -arp -sn
# TCP SYN discovery on port 80
naabu -host 192.168.1.0/24 -hd -ps 80 -sn
# Combined probes
naabu -host 192.168.1.0/24 -hd -pe -arp -ps 80,443 -snThe key insight: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I need to do host discovery witn ping scan, but i can not use
-pe.can anyone help me?
➜ naabu -host 192.168.1.1 -pe -sn
[FTL] Program exiting: discovery probes were provided but host discovery is disabled
➜ naabu -host 192.168.1.1 -pe
[INF] Current naabu version 2.4.0 (latest)
[FTL] Program exiting: discovery probes were provided but host discovery is disabled
Beta Was this translation helpful? Give feedback.
All reactions