Skip to content

Instantly share code, notes, and snippets.

View rromer01's full-sized avatar

Carlos R rromer01

  • Palm Bay, FL
View GitHub Profile
@rromer01
rromer01 / sendeth.py
Created December 2, 2018 02:55 — forked from cslarsen/sendeth.py
One way of sending raw Ethernet packets in Python
"""Demonstrates how to construct and send raw Ethernet packets on the
network.
You probably need root privs to be able to bind to the network interface,
e.g.:
$ sudo python sendeth.py
"""
from socket import *