当我运行时nmap -sn 192.168.0.0/24
我得到结果:
Nmap scan report for 192.168.0.1
Host is up (0.16s latency).
Nmap scan report for 192.168.0.103
Host is up (0.19s latency).
Nmap scan report for 192.168.0.124
Host is up (0.11s latency).
Nmap done: 256 IP addresses (3 hosts up) scanned in 124.31 seconds
虽然当我运行arp-scan 192.168.0.0/24
(默认界面是我的目标界面)时我得到了:
Interface: wlp6s0, datalink type: EN10MB (Ethernet)
Starting arp-scan 1.9.5 with 256 hosts (https://github.com/royhills/arp-scan)
0 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.9.5: 256 hosts scanned in 1.986 seconds (128.90 hosts/sec). 0 responded
为什么可以nmap
检测到本地网络上的设备,却arp-scan
检测不到?是我的设备arp-scan
无法正常工作(某种程度上损坏了),还是我遗漏了什么?本地网络由旧的 D-Link 路由器启用。