From 15cf45e8ba9d93bf064de6eb211dafda60e32430 Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Wed, 4 Nov 2015 22:13:04 +0400 Subject: [PATCH] remove exxxit command --- cowrie/commands/base.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/cowrie/commands/base.py b/cowrie/commands/base.py index e138f52..26bf8fa 100644 --- a/cowrie/commands/base.py +++ b/cowrie/commands/base.py @@ -118,15 +118,6 @@ class command_echo(HoneyPotCommand): commands['/bin/echo'] = command_echo -# for testing purposes -class command_exxxit(HoneyPotCommand): - def call(self): - if self.protocol.clientIP.startswith('127.0.0.'): - self.protocol.terminal.loseConnection() - else: - self.writeln('bash: exxxit: command not found') -commands['exxxit'] = command_exxxit - class command_exit(HoneyPotCommand): def call(self): self.protocol.terminal.loseConnection()