mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-17 22:14:19 +01:00
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
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user