Fixed formatting issues

This commit is contained in:
g0tmi1k 2014-05-28 05:26:13 +01:00
parent 74d5cb0825
commit 9737a8fdb6
1 changed files with 5 additions and 5 deletions

View File

@ -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: