mirror of
https://github.com/n1nj4sec/pupy.git
synced 2025-02-26 21:06:58 +00:00
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…
x
Reference in New Issue
Block a user