Created
May 8, 2014 21:55
-
-
Save alex/367e23d220d68266881d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
s = socket.socket(socket.AF_PACKET, socket.SOCK_RAW) | |
s.bind(("eth0", 0x88CC)) | |
while True: | |
print repr(s.recv(8192)) |
jayofdoom
commented
May 8, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment