* 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:
desaster
2009-11-23 14:45:48 +00:00
parent ff1579f6fe
commit 97256e45f6
4 changed files with 7 additions and 4 deletions

View File

@@ -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' % \