mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-17 22:14:19 +01:00
New command: logout == exit (Janne Snabb)
git-svn-id: https://kippo.googlecode.com/svn/trunk@139 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
@@ -151,6 +151,7 @@ class command_exit(HoneyPotCommand):
|
|||||||
self.honeypot.hostname = 'localhost'
|
self.honeypot.hostname = 'localhost'
|
||||||
self.honeypot.cwd = '/root'
|
self.honeypot.cwd = '/root'
|
||||||
commands['exit'] = command_exit
|
commands['exit'] = command_exit
|
||||||
|
commands['logout'] = command_exit
|
||||||
|
|
||||||
class command_clear(HoneyPotCommand):
|
class command_clear(HoneyPotCommand):
|
||||||
def call(self):
|
def call(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user