python: more detailed alert message

This commit is contained in:
Rasmus Lerchedahl Petersen
2022-02-14 11:55:07 +01:00
parent 4ad99d9299
commit 84447e4710
3 changed files with 25 additions and 28 deletions

View File

@@ -57,13 +57,4 @@ module LdapInjection {
guard instanceof FilterSanitizerGuard
}
}
import DataFlow::PathGraph
/** Holds if there is an LDAP injection from `source` to `sink` */
predicate ldapInjection(DataFlow::PathNode source, DataFlow::PathNode sink) {
any(DnConfiguration dnConfig).hasFlowPath(source, sink)
or
any(FilterConfiguration filterConfig).hasFlowPath(source, sink)
}
}