mirror of
https://github.com/gnh1201/caterpillar.git
synced 2024-11-26 15:31:45 +00:00
Update server.py
This commit is contained in:
parent
d8dd92f9c0
commit
f343020ae6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user