Extend ldap3's start_tls and fix tests

This commit is contained in:
jorgectf
2021-07-22 18:42:41 +02:00
parent a34d6d390e
commit b03e75e3d1
2 changed files with 8 additions and 3 deletions

View File

@@ -219,6 +219,11 @@ private module LDAP {
.(DataFlow::LocalSourceNode)
.flowsTo([serverCall.getArg(2), serverCall.getArgByName("use_ssl")])
)
or
exists(DataFlow::AttrRead startTLS |
startTLS.getAttributeName().matches("%start_tls%") and
startTLS.getObject().getALocalSource() = this
)
}
}