From 0a472e9366c583ec63d8604c167abceaad85723e Mon Sep 17 00:00:00 2001 From: lefayjey Date: Thu, 9 Feb 2023 14:28:16 +0100 Subject: [PATCH] Use hostname in user and passpol for kerberos --- cme/protocols/smb/passpol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cme/protocols/smb/passpol.py b/cme/protocols/smb/passpol.py index 204b4cc4..4e7c8e66 100644 --- a/cme/protocols/smb/passpol.py +++ b/cme/protocols/smb/passpol.py @@ -75,7 +75,7 @@ class PassPolDump: def __init__(self, connection): self.logger = connection.logger - self.addr = connection.host + self.addr = connection.host if not connection.kerberos else connection.hostname self.protocol = connection.args.port self.username = connection.username self.password = connection.password