To Find a Rogue DHCP Server—tcpdump/dhclient—nmap

1360阅读 0评论2016-01-23 ztguang
分类:LINUX


nmap --script broadcast-dhcp-discover
nmap --script broadcast-dhcp-discover -p67 [your network CIDR]

+++++++++++++++++++++++++++++++++++++++++

[root@localhost ~]# ifconfig
enp13s0: flags=4163  mtu 1500


tcpdump -i enp13s0 -nev udp port 68
tcpdump -i enp13s0 -nev udp src port 67 and not ether host a8:39:44:96:fa:b8
tcpdump -U -i enp13s0 -c 100 -nev udp src port 67 and not ether host a8:39:44:96:fa:b8 >> /tmp/rogue 2>&1 &

dhclient -x
dhclient

上一篇:CentOS7—Fedora23—Install times new roman font—MS fonts
下一篇:(OK) CentOS7/Fedora23——Installing Docker——core—pip