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
f343020ae6
commit
b0cc2652ba
|
@ -149,6 +149,7 @@ def conn_string(conn: socket.socket, data: bytes, addr: bytes):
|
||||||
if connector:
|
if connector:
|
||||||
logger.info("[*] Connecting...")
|
logger.info("[*] Connecting...")
|
||||||
connector.connect(conn, data, b'', b'', b'', b'', b'')
|
connector.connect(conn, data, b'', b'', b'', b'', b'')
|
||||||
|
return
|
||||||
|
|
||||||
# parse first data (header)
|
# parse first data (header)
|
||||||
webserver, port, scheme, method, url = parse_first_data(data)
|
webserver, port, scheme, method, url = parse_first_data(data)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user