Skip to content

Instantly share code, notes, and snippets.

View Hunga9k50doker's full-sized avatar
🌴
Excited

Nguyễn Văn Hùng Hunga9k50doker

🌴
Excited
View GitHub Profile
@oborichkin
oborichkin / tls_client.py
Last active July 5, 2024 08:06
Simple TLS client and server on python
import socket
import ssl
from tls_server import HOST as SERVER_HOST
from tls_server import PORT as SERVER_PORT
HOST = "127.0.0.1"
PORT = 60002
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)