mirror of https://github.com/cowrie/cowrie.git
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:
parent
590540178e
commit
3840cbbd04
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue