Do not reset terminal after user logs out

This commit is contained in:
Michel Oosterhof
2014-11-08 18:30:30 +00:00
parent 376015c6b0
commit 42fd8a9ee4

View File

@ -64,7 +64,6 @@ class command_exit(HoneyPotCommand):
self.exit_jail is False: self.exit_jail is False:
self.honeypot.terminal.loseConnection() self.honeypot.terminal.loseConnection()
return return
self.honeypot.terminal.reset()
self.writeln('Connection to server closed.') self.writeln('Connection to server closed.')
self.honeypot.hostname = 'localhost' self.honeypot.hostname = 'localhost'
self.honeypot.cwd = '/root' self.honeypot.cwd = '/root'