Skip to content

Instantly share code, notes, and snippets.

Avatar
😼
-.-

Shawn Lower shawnlower

😼
-.-
View GitHub Profile
@shawnlower
shawnlower / tun-ping-linux.py
Created July 4, 2016 09:06 — forked from glacjay/tun-ping-linux.py
Reading/writing Linux's TUN/TAP device using Python.
View tun-ping-linux.py
#!/usr/bin/python3
import fcntl
import os
import struct
import subprocess
import time
from array import array
View tun-ping-linux.py
#!/usr/bin/python
import fcntl
import os
import struct
import subprocess
import time
from array import array