We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 68e36dc + 70463e5 commit 97049a0Copy full SHA for 97049a0
1 file changed
nxc/protocols/ldap.py
@@ -664,7 +664,7 @@ def check_if_admin(self):
664
resp = self.search(search_filter, attributes, sizeLimit=0, baseDN=self.baseDN)
665
resp_parsed = parse_result_attributes(resp)
666
answers = []
667
- if resp and (self.password != "" or self.lmhash != "" or self.nthash != "" or self.aesKey != "") and self.username != "":
+ if resp and (self.password != "" or self.lmhash != "" or self.nthash != "" or self.aesKey != "" or self.use_kcache) and self.username != "":
668
for item in resp_parsed:
669
self.sid_domain = "-".join(item["objectSid"].split("-")[:-1])
670
0 commit comments