mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-18 22:44:29 +01:00
Clear screen on fake exit
git-svn-id: https://kippo.googlecode.com/svn/trunk@17 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
@@ -97,6 +97,7 @@ class command_echo(HoneyPotCommand):
|
|||||||
|
|
||||||
class command_quit(HoneyPotCommand):
|
class command_quit(HoneyPotCommand):
|
||||||
def call(self, args):
|
def call(self, args):
|
||||||
|
self.honeypot.terminal.reset()
|
||||||
self.honeypot.writeln('Connection to server closed.')
|
self.honeypot.writeln('Connection to server closed.')
|
||||||
self.honeypot.prompt = 'localhost:%(path)s# '
|
self.honeypot.prompt = 'localhost:%(path)s# '
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user