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()