Ubuntu Pastebin

Paste from csmith at Mon, 10 Jul 2017 22:37:39 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#!/usr/bin/env python

"""Perform a dhcp discover on a configure NIC"""

from scapy.layers.dhcp import dhcp_request
from scapy.all import conf

.checkIPaddr = False
resp = dhcp_request(iface='enp0s25')
print resp.summary()
Download as text