mirror of https://github.com/n1nj4sec/pupy.git
put timeout back in payload
This commit is contained in:
parent
b6b30db13c
commit
c3eff9893e
|
@ -204,7 +204,7 @@ def rpyc_loop(launcher):
|
||||||
event=threading.Event()
|
event=threading.Event()
|
||||||
t=threading.Thread(target=check_timeout, args=(event, stream.close))
|
t=threading.Thread(target=check_timeout, args=(event, stream.close))
|
||||||
t.daemon=True
|
t.daemon=True
|
||||||
#t.start()
|
t.start()
|
||||||
try:
|
try:
|
||||||
conn=rpyc.utils.factory.connect_stream(stream, ReverseSlaveService, {})
|
conn=rpyc.utils.factory.connect_stream(stream, ReverseSlaveService, {})
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Reference in New Issue