无法使用 NMAP 在网络中检测到我的 Android 手机

无法使用 NMAP 在网络中检测到我的 Android 手机

我想查找所有使用我的 WiFi 连接的设备。

我用了:

nmap -vv -sP 192.168.1.1-100

我可以找到我的本地PC和路由器,但是我无法使用此命令检测到我的Android手机。

网络:

192.168.1.20   router
192.168.1.34   local pc
192.168.1.33   Android phone

nmap:

user@Internetcafe-PC12:~$ nmap -vv -sP 192.168.1.1-100

Starting Nmap 5.21 ( http://nmap.org ) at 2017-06-25 12:40 IST
Initiating Ping Scan at 12:40
Scanning 100 hosts [2 ports/host]
Completed Ping Scan at 12:40, 2.71s elapsed (100 total hosts)
Initiating Parallel DNS resolution of 100 hosts. at 12:40
Completed Parallel DNS resolution of 100 hosts. at 12:40, 0.31s elapsed
Nmap scan report for 192.168.1.1 [host down]

Nmap scan report for 192.168.1.19 [host down]
Nmap scan report for 192.168.1.20
Host is up (0.0029s latency).

Nmap scan report for 192.168.1.32 [host down]
Nmap scan report for 192.168.1.33 [host down]
Nmap scan report for 192.168.1.34
Host is up (0.00021s latency).
Nmap scan report for 192.168.1.35 [host down]
Nmap scan report for 192.168.1.36 [host down]


Nmap done: 100 IP addresses (2 hosts up) scanned in 3.02 seconds

user@Internetcafe-PC12:~$ ping 192.168.1.33

PING 192.168.1.33 (192.168.1.33) 56(84) bytes of data.
64 bytes from 192.168.1.33: icmp_req=1 ttl=64 time=121 ms
64 bytes from 192.168.1.33: icmp_req=2 ttl=64 time=47.1 ms

答案1

在 Nmap 上尝试其他修饰符来避免“ping 扫描”:

nmap -sS -sV -vv -n -Pn -T4 192.168.1.1-100

nmap -vv -A -n 192.168.1.1-100

您也可以sudo在之前添加nmap,以确保您拥有所有权限。

相关内容