Skip to content

Commit 62496a3

Browse files
authored
Merge pull request Pennyw0rth#408 from cauan/patch-1
ldap-checker.py false positive fixed
2 parents f9d3caa + 4a0f038 commit 62496a3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

nxc/modules/ldap-checker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ async def run_ldap(target, credential):
126126
_, err = await ldapsClientConn.connect()
127127
if err is not None:
128128
context.log.fail(str(err))
129-
return False
129+
return None
130130

131131
_, err = await ldapsClientConn.bind()
132132
if err is not None:
@@ -142,7 +142,7 @@ async def run_ldap(target, credential):
142142
# because LDAP server signing requirements are not enforced
143143
except Exception as e:
144144
context.log.debug(str(e))
145-
return False
145+
return None
146146

147147

148148
# Run trough all our code blocks to determine LDAP signing and channel binding settings.

0 commit comments

Comments
 (0)