Skip to content

Commit 34f6ce2

Browse files
committed
Added debug output on lack of default privileged RID
1 parent 8309947 commit 34f6ce2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

nxc/protocols/ldap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,7 @@ def check_if_admin(self):
591591
if str(attribute["type"]) == "distinguishedName":
592592
answers.append(str("(memberOf:1.2.840.113556.1.4.1941:=" + attribute["vals"][0] + ")"))
593593
if len(answers) == 0:
594+
self.logger.debug(f"No groups with default privileged RID were found. Assuming user is not a Domain Administrator.")
594595
return
595596

596597
# 3. get member of these groups

0 commit comments

Comments
 (0)