天天看点

[ nmap ] 网络扫描工具nmap的使用                      [ nmap ] 网络扫描工具nmap的使用

                      [ nmap ] 网络扫描工具nmap的使用

安装:

        sudo  apt-get install nmap

使用:

        sudo nmap -sP 192.168.100.1/24

[email protected]:~/temp/master/gp530$ sudo nmap -sP 192.168.100.1/24

Starting Nmap 7.01 ( https://nmap.org ) at 2020-03-18 14:48 CST
Nmap scan report for localhost (192.168.100.11)
Host is up (0.0010s latency).
MAC Address: 00:22:4F:05:D2:F0 (Byzoro Networks)
Nmap scan report for localhost (192.168.100.29)
Host is up (0.010s latency).
MAC Address: 94:65:2D:33:DA:EA (Unknown)
Nmap scan report for localhost (192.168.100.34)
Host is up (-0.11s latency).
MAC Address: 00:0C:29:F1:81:97 (VMware)
Nmap scan report for localhost (192.168.100.35)
Host is up (0.0042s latency).
MAC Address: 00:22:4F:11:22:10 (Byzoro Networks)
Nmap scan report for localhost (192.168.100.43)
Host is up (-0.15s latency).
MAC Address: 00:22:4F:07:12:40 (Byzoro Networks)
Nmap scan report for localhost (192.168.100.45)
Host is up (0.11s latency).
MAC Address: 44:85:00:7C:B5:14 (Intel Corporate)
Nmap scan report for localhost (192.168.100.51)
Host is up (0.024s latency).
MAC Address: 00:22:4F:00:F5:00 (Byzoro Networks)
Nmap scan report for localhost (192.168.100.52)
Host is up (0.010s latency).
MAC Address: 10:02:B5:70:8E:A1 (Intel Corporate)
Nmap scan report for localhost (192.168.100.59)
Host is up (-0.098s latency).
MAC Address: 00:22:4F:00:F4:D0 (Byzoro Networks)
Nmap scan report for localhost (192.168.100.66)
Host is up (-0.099s latency).
MAC Address: 34:0A:68:24:81:87 (Unknown)
Nmap scan report for localhost (192.168.100.74)
Host is up (0.21s latency).
MAC Address: A8:C8:3A:02:3C:DF (Unknown)
Nmap scan report for localhost (192.168.100.76)
Host is up (0.094s latency).
MAC Address: 00:DB:DF:7D:96:E1 (Intel Corporate)
Nmap scan report for localhost (192.168.100.86)
Host is up (-0.078s latency).
MAC Address: FC:3F:7C:65:52:5B (Unknown)
Nmap scan report for localhost (192.168.100.102)
Host is up (-0.11s latency).
MAC Address: 90:78:41:E6:4E:E3 (Unknown)
Nmap scan report for localhost (192.168.100.106)
Host is up (0.052s latency).
MAC Address: 0C:2C:54:F0:4D:A7 (Unknown)
Nmap scan report for localhost (192.168.100.115)
Host is up (0.0016s latency).
MAC Address: 00:22:4F:00:F4:40 (Byzoro Networks)
Nmap scan report for localhost (192.168.100.123)
Host is up (-0.098s latency).
MAC Address: 44:85:00:7C:B5:14 (Intel Corporate)
Nmap scan report for localhost (192.168.100.126)
Host is up (-0.085s latency).
MAC Address: 8C:BE:BE:4F:41:2B (Xiaomi Communications)
Nmap scan report for localhost (192.168.100.152)
Host is up (0.0056s latency).
MAC Address: 54:E1:AD:3E:FC:5D (Unknown)
Nmap scan report for localhost (192.168.100.158)
Host is up (0.0049s latency).
MAC Address: DA:B2:FF:82:1B:53 (Unknown)
Nmap scan report for localhost (192.168.100.161)
Host is up (0.0047s latency).
MAC Address: 54:EE:75:EF:2A:C6 (Wistron InfoComm(Kunshan)Co.)
Nmap scan report for localhost (192.168.100.171)
Host is up (0.041s latency).
MAC Address: EC:56:23:50:D2:18 (Unknown)
Nmap scan report for localhost (192.168.100.179)
Host is up (0.0044s latency).
MAC Address: 00:22:4F:06:17:68 (Byzoro Networks)
Nmap scan report for localhost (192.168.100.191)
Host is up (-0.064s latency).
MAC Address: 14:1F:BA:8B:50:A4 (Ieee Registration Authority)
Nmap scan report for localhost (192.168.100.252)
Host is up (0.0014s latency).
MAC Address: 44:D1:FA:33:CB:CC (Unknown)
Nmap scan report for localhost (192.168.100.254)
Host is up (0.0024s latency).
MAC Address: 50:9A:4C:52:70:29 (Unknown)
Nmap scan report for localhost (192.168.100.99)
Host is up.
Nmap done: 256 IP addresses (27 hosts up) scanned in 3.00 seconds
           

注意:

       如果不加root权限,可能不显示MAC地址

继续阅读