Last active
December 14, 2015 18:19
-
-
Save syst3mw0rm/5128305 to your computer and use it in GitHub Desktop.
This file contains hidden or 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,time,zlib,sys | |
| from struct import pack | |
| sk = socket.socket(socket.AF_INET,socket.SOCK_STREAM) | |
| sk.connect(("106.187.35.165",8080)) | |
| buff = sk.recv(1024) | |
| print 'Received', repr(buff) | |
| buff = sk.recv(1024) | |
| print "#1" | |
| print buff | |
| s = raw_input() | |
| sk.send(s) | |
| print "#2" | |
| buff = sk.recv(1024) | |
| print buff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment