mirror of
https://github.com/cowrie/cowrie.git
synced 2025-07-01 18:07:27 -04:00
Do not reset terminal after user logs out
This commit is contained in:
@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user