fix sessions -k to actually exit

This commit is contained in:
n1nj4sec 2016-08-27 00:47:37 +02:00
parent 2599673bec
commit 1337074ccc
1 changed files with 2 additions and 1 deletions

View File

@ -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``)"""