nmap用法
Ping 扫描
nmap-easily-ping-scan-all-addresses-in-my-subnet
nmap -sP 192.168.122.0/24
DHCP 扫描
sudo nmap -sU -p 67 --script=dhcp-discover 192.168.122.0/24
ip r sudo nmap --script broadcast-dhcp-discover -e enp1s0
抓包
interface=ens18 sudo tcpdump -i $interface not port ssh -w /home/pxe_logs.pcap