From 3840cbbd042dde98940c31f46dba741c02412841 Mon Sep 17 00:00:00 2001 From: desaster Date: Sat, 29 May 2010 12:42:42 +0000 Subject: [PATCH] Added new command: exxxit, which actually exits (for developer's purposes) git-svn-id: https://kippo.googlecode.com/svn/trunk@111 951d7100-d841-11de-b865-b3884708a8e2 --- kippo/commands/base.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kippo/commands/base.py b/kippo/commands/base.py index 2e4dd2e3..7656368e 100644 --- a/kippo/commands/base.py +++ b/kippo/commands/base.py @@ -137,6 +137,12 @@ class command_echo(HoneyPotCommand): self.writeln(' '.join(self.args)) commands['/bin/echo'] = command_echo +# for testing purposes +class command_exxxit(HoneyPotCommand): + def call(self): + self.honeypot.terminal.loseConnection() +commands['exxxit'] = command_exxxit + class command_exit(HoneyPotCommand): def call(self): #self.honeypot.terminal.loseConnection()