Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Commit 25978c0

Browse files
author
mpgn
authored
Update smb.py
1 parent 193ce41 commit 25978c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cme/protocols/smb.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,8 @@ def print_host_info(self):
345345
def kerberos_login(self, domain, username, password = '', ntlm_hash = '', aesKey = '', kdcHost = '', useCache = False):
346346
logging.getLogger("impacket").disabled = True
347347
#Re-connect since we logged off
348-
kdchost = self.hostname if not self.kdcHost else self.kdcHost
349-
self.create_conn_obj(kdchost)
348+
fqdn_host = self.hostname + "." + self.domain
349+
self.create_conn_obj(fqdn_host)
350350
lmhash = ''
351351
nthash = ''
352352
if not all('' == s for s in [self.nthash, password, aesKey]):

0 commit comments

Comments
 (0)