mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-24 09:24:23 +01:00
* exit and ssh should reset cwd
* More kippo.cfg options: contents_path, public_key, private_key git-svn-id: https://kippo.googlecode.com/svn/trunk@55 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
@@ -47,6 +47,7 @@ class command_ssh(HoneyPotCommand):
|
||||
if len(rest) and rest[0].isalpha():
|
||||
host = rest[0]
|
||||
self.honeypot.hostname = host
|
||||
self.honeypot.cwd = '/root'
|
||||
self.honeypot.password_input = False
|
||||
self.writeln(
|
||||
'Linux %s 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 i686' % \
|
||||
|
||||
Reference in New Issue
Block a user