From 8215eaa27a453703c5bd773c34cdd45e39c90b72 Mon Sep 17 00:00:00 2001 From: mpgn Date: Wed, 28 Feb 2024 22:48:54 +0100 Subject: [PATCH] Update connection.py Signed-off-by: mpgn --- nxc/connection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nxc/connection.py b/nxc/connection.py index cc2d68bb..7a70dea8 100755 --- a/nxc/connection.py +++ b/nxc/connection.py @@ -87,8 +87,8 @@ class connection: self.port = self.args.port self.conn = None self.admin_privs = False - self.password = "" - self.username = "" + self.password = None + self.username = None self.kerberos = bool(self.args.kerberos or self.args.use_kcache or self.args.aesKey) self.aesKey = None if not self.args.aesKey else self.args.aesKey[0] self.kdcHost = None if not self.args.kdcHost else self.args.kdcHost