Skip to content

Commit

Permalink
fix: undo newlining
Browse files Browse the repository at this point in the history
  • Loading branch information
Marshall-Hallenbeck committed Oct 21, 2023
1 parent 92ddea1 commit 7eef62e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions nxc/modules/group_members.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,7 @@ def on_login(self, context, connection):
def do_search(self, context, connection, searchFilter, attributeName):
try:
context.log.debug(f"Search Filter={searchFilter}")
resp = connection.ldapConnection.search(
searchFilter=searchFilter,
attributes=[attributeName],
sizeLimit=0
)
resp = connection.ldapConnection.search(searchFilter=searchFilter, attributes=[attributeName], sizeLimit=0)
context.log.debug(f"Total number of records returned {len(resp)}")
for item in resp:
if isinstance(item, ldapasn1_impacket.SearchResultEntry) is not True:
Expand Down

0 comments on commit 7eef62e

Please sign in to comment.