From 9737a8fdb6450e0f180b845f8743a28b58e4ed3e Mon Sep 17 00:00:00 2001 From: g0tmi1k Date: Wed, 28 May 2014 05:26:13 +0100 Subject: [PATCH] Fixed formatting issues --- kippo/core/honeypot.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kippo/core/honeypot.py b/kippo/core/honeypot.py index 225b4dd8..0957d7ef 100644 --- a/kippo/core/honeypot.py +++ b/kippo/core/honeypot.py @@ -646,11 +646,11 @@ class HoneyPotSSHFactory(factory.SSHFactory): # FIXME: try to mimic something real 100% t = HoneyPotTransport() - if cfg.has_option('honeypot', 'ssh_version_string'): - t.ourVersionString = cfg.get('honeypot','ssh_version_string') - else: - t.ourVersionString = "SSH-2.0-OpenSSH_5.1p1 Debian-5" - + if cfg.has_option('honeypot', 'ssh_version_string'): + t.ourVersionString = cfg.get('honeypot','ssh_version_string') + else: + t.ourVersionString = "SSH-2.0-OpenSSH_5.1p1 Debian-5" + t.supportedPublicKeys = self.privateKeys.keys() if not self.primes: