Skip to content

Instantly share code, notes, and snippets.

View partytime's full-sized avatar

Bryce Evans partytime

View GitHub Profile
@partytime
partytime / rogue-dhcp-detector.py
Last active January 27, 2021 07:17
rogue dhcp detector
#!/usr/bin/python
import sys
from os import geteuid
from scapy.all import *
#check for root
if geteuid() != 0:
print "This must be run as root"
exit(1)