This script listens for DHCP Request and Discover packets on the LAN using scapy. A little background on the DHCP protocol Hosts issue a DHCP Discover packet to destination 255.255.255.255 to request an IP Address assignment from a DHCP server. DHCP Discover, Request, Offer, Ack and Inform packets are sent as broadcasts, all hosts on …
The post Scapy DHCP listener in Python appeared first on jcutrer.com.