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:
desaster 2009-11-17 07:52:25 +00:00
parent 92fe2cd850
commit 8a76ada681
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ class command_echo(HoneyPotCommand):
class command_quit(HoneyPotCommand):
def call(self, args):
self.honeypot.terminal.reset()
self.honeypot.writeln('Connection to server closed.')
self.honeypot.prompt = 'localhost:%(path)s# '