Skip to content

Instantly share code, notes, and snippets.

View Winterflower's full-sized avatar
🥰
Learning all about NLP!

Camilla Montonen Winterflower

🥰
Learning all about NLP!
View GitHub Profile
@Winterflower
Winterflower / sendeth.py
Created October 28, 2015 21:46 — 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 *