remove exxxit command

This commit is contained in:
Michel Oosterhof
2015-11-04 22:13:04 +04:00
parent 8960054dbe
commit 15cf45e8ba

View File

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