From 182467e0e8463fe87e9e9453f5327a607226578a Mon Sep 17 00:00:00 2001 From: Andris Raugulis Date: Tue, 25 Oct 2016 11:52:55 +0300 Subject: [PATCH] Fix typo, which slipped in while adding type system. --- ssh-audit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh-audit.py b/ssh-audit.py index b89e8da..b584748 100755 --- a/ssh-audit.py +++ b/ssh-audit.py @@ -1648,7 +1648,7 @@ def output_security_sub(sub, software, padlen): vfrom, vtill = line[0:2] # type: str, str if not software.between_versions(vfrom, vtill): continue - target, name = line[2:3] # type: int, str + target, name = line[2:4] # type: int, str is_server, is_client = target & 1 == 1, target & 2 == 2 is_local = target & 4 == 4 if not is_server: