Skip to content

Instantly share code, notes, and snippets.

View pereirawe's full-sized avatar
😎
Good mood

William Pereira pereirawe

😎
Good mood
View GitHub Profile
@ygorcb
ygorcb / tcphex
Created April 18, 2022 19:23
Utility to send binary data represented in hexadecimal over TCP connection
#!/usr/bin/env python3
import socket
import sys
host, port = sys.argv[1].split(':')
s = socket.socket()
s.connect((host, int(port)))