Added patches submitted by Janne Snabb:

* New config option "ssh_addr", which can be used to be bind kippo to a
   specific IP 
 * New config option "out_addr", which tells kippo to bind to a specific IP
   for outgoing connections (wget)
 * wget now sends a fake user-agent
 * anydbm .iterkeys() isn't necessarily available (passwd, last)


git-svn-id: https://kippo.googlecode.com/svn/trunk@143 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
desaster
2010-06-27 20:18:22 +00:00
parent e9fee2d937
commit 3779ba2471
6 changed files with 20 additions and 6 deletions

View File

@@ -246,7 +246,7 @@ class command_passwd(HoneyPotCommand):
data_path = self.honeypot.env.cfg.get('honeypot', 'data_path')
passdb = anydbm.open('%s/pass.db' % (data_path,), 'c')
if len(self.password) and self.password not in passdb:
passdb[self.password] = None
passdb[self.password] = ''
passdb.close()
self.writeln('passwd: password updated successfully')