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()
|
self._conn.close()
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
raise KeyboardInterrupt
|
raise
|
||||||
def exposed_exit(self):
|
def exposed_exit(self):
|
||||||
|
print "exiting ..."
|
||||||
raise SystemExit
|
raise SystemExit
|
||||||
def exposed_execute(self, text):
|
def exposed_execute(self, text):
|
||||||
"""execute arbitrary code (using ``exec``)"""
|
"""execute arbitrary code (using ``exec``)"""
|
||||||
|
|
Loading…
Reference in New Issue