From 33ae2946ea13705e215533944c32a6b924ef336f Mon Sep 17 00:00:00 2001 From: Joe Testa Date: Fri, 22 Sep 2017 15:01:51 -0400 Subject: [PATCH] Syntax fix for Python2. --- ssh-audit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssh-audit.py b/ssh-audit.py index d26289e..a750269 100755 --- a/ssh-audit.py +++ b/ssh-audit.py @@ -2265,8 +2265,8 @@ class KexGroupExchange(KexDH): # Now that we got the generator and modulus, perform the DH exchange # like usual. - super().set_params(g, p) - super().send_init(s, SSH.Protocol.MSG_KEXDH_GEX_INIT) + super(KexGroupExchange, self).set_params(g, p) + super(KexGroupExchange, self).send_init(s, SSH.Protocol.MSG_KEXDH_GEX_INIT) class KexGroupExchange_SHA1(KexGroupExchange):