Skip to content

Instantly share code, notes, and snippets.

View zhongWJ's full-sized avatar
🎯
Focusing

zhongWJ zhongWJ

🎯
Focusing
  • 中国
View GitHub Profile
#On macOS Mojave, this script must run in root, otherwise you will
#get a runtime error due to "No permission" error when create raw socket
import socket
import io
import struct
import sys
class flushfile(io.FileIO):
def __init__(self, f):