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

Commit

Permalink
Update smb.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mpgn authored Nov 10, 2022
1 parent 193ce41 commit 25978c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cme/protocols/smb.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,8 @@ def print_host_info(self):
def kerberos_login(self, domain, username, password = '', ntlm_hash = '', aesKey = '', kdcHost = '', useCache = False):
logging.getLogger("impacket").disabled = True
#Re-connect since we logged off
kdchost = self.hostname if not self.kdcHost else self.kdcHost
self.create_conn_obj(kdchost)
fqdn_host = self.hostname + "." + self.domain
self.create_conn_obj(fqdn_host)
lmhash = ''
nthash = ''
if not all('' == s for s in [self.nthash, password, aesKey]):
Expand Down

0 comments on commit 25978c0

Please sign in to comment.