Skip to content

Instantly share code, notes, and snippets.

@ThoenigAdrian
Created December 9, 2019 16:19
Show Gist options
  • Save ThoenigAdrian/8a1ed29124f34123afe3baaa1c980f66 to your computer and use it in GitHub Desktop.
Save ThoenigAdrian/8a1ed29124f34123afe3baaa1c980f66 to your computer and use it in GitHub Desktop.
import socket
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(("127.0.0.1", 80))
#s.send()
#print(s.recv(1024))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment