mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-29 20:04:20 +01:00
load module for diffie-hellman-group-exchange-sha1
This commit is contained in:
@@ -109,6 +109,7 @@ class HoneyPotSSHFactory(factory.SSHFactory):
|
||||
|
||||
t.supportedPublicKeys = self.privateKeys.keys()
|
||||
|
||||
self.primes = primes.parseModuliFile('/etc/ssh/moduli')
|
||||
if not self.primes:
|
||||
ske = t.supportedKeyExchanges[:]
|
||||
ske.remove('diffie-hellman-group-exchange-sha1')
|
||||
|
||||
Reference in New Issue
Block a user