家里有时候会有多个 dhcp server,探测 dhcpserver 把没用的关掉
nmap --script broadcast-dhcp-discover Starting Nmap 6.40 ( http://nmap.org ) at 2019-11-17 16:43 CST Pre-scan script results: | broadcast-dhcp-discover: | IP Offered: 192.168.1.60 | DHCP Message Type: DHCPOFFER | Server Identifier: 192.168.1.123 | IP Address Lease Time: 0 days, 0:02:00 | Renewal Time Value: 0 days, 0:01:00 | Rebinding Time Value: 0 days, 0:01:45 | Subnet Mask: 255.255.255.0 | Broadcast Address: 192.168.1.255 | Router: 192.168.1.123 | Domain Name Server: 192.168.1.123 |_ Domain Name: lan WARNING: No targets were specified, so 0 hosts scanned. Nmap done: 0 IP addresses (0 hosts up) scanned in 3.37 seconds
Leave a Reply