mirror of https://github.com/cowrie/cowrie.git
Fixed formatting issues
This commit is contained in:
parent
74d5cb0825
commit
9737a8fdb6
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue