Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import socket
- target_host = "127.0.0.1"
- target_port = 8089
- client = socket.socket()
- client.connect((target_host, target_port))
- client.send(b"test")
- response = client.recv(4096).decode()
- print(response)
Advertisement
Add Comment
Please, Sign In to add comment