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