Update server.py

This commit is contained in:
Namhyeon Go 2024-11-12 17:27:39 +09:00 committed by GitHub
parent d8dd92f9c0
commit f343020ae6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -148,7 +148,7 @@ def conn_string(conn: socket.socket, data: bytes, addr: bytes):
connector = test_connectors(data)
if connector:
logger.info("[*] Connecting...")
connector.connect(conn, data)
connector.connect(conn, data, b'', b'', b'', b'', b'')
# parse first data (header)
webserver, port, scheme, method, url = parse_first_data(data)