mirror of
https://github.com/aljazceru/cowrie.git
synced 2026-01-18 13:44:23 +01:00
remove exxxit command
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user