mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-02-06 15:05:00 +00:00
Update server.py
This commit is contained in:
parent
eaca6d94f4
commit
4b43df7cd0
|
@ -162,6 +162,8 @@ def conn_string(conn, data, addr):
|
||||||
accepted_relay[id] = conn
|
accepted_relay[id] = conn
|
||||||
while conn.fileno() > -1:
|
while conn.fileno() > -1:
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
del accepted_relay[id]
|
||||||
|
print ("[*] relay destroyed: %s" % (id))
|
||||||
return
|
return
|
||||||
|
|
||||||
# parse first data (header)
|
# parse first data (header)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user