mirror of https://github.com/desaster/kippo.git
don't show the yes/no question as the host
git-svn-id: https://kippo.googlecode.com/svn/trunk@82 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
parent
76876dd2c2
commit
1508f60838
|
@ -43,10 +43,9 @@ class command_ssh(HoneyPotCommand):
|
|||
self.callbacks = [self.yesno, self.wait]
|
||||
|
||||
def yesno(self, line):
|
||||
host = line.strip()
|
||||
self.writeln(
|
||||
'Warning: Permanently added \'%s\' (RSA) to the list of known hosts.' % \
|
||||
host)
|
||||
self.host)
|
||||
self.write('%s@%s\'s password: ' % (self.user, self.host))
|
||||
self.honeypot.password_input = True
|
||||
|
||||
|
|
Loading…
Reference in New Issue