Class NucleiMatcherTranslator
- Namespace
- Kuestenlogik.Bowire.Security.Templates.Nuclei
- Assembly
- Kuestenlogik.Bowire.Security.Templates.Nuclei.dll
public static class NucleiMatcherTranslator
- Inheritance
-
NucleiMatcherTranslator
- Inherited Members
Methods
Translate(NucleiHttpRequest)
Build the full predicate tree for the matchers on one HTTP
request. Returns null when no matcher translated — the
caller treats that as "this template has no actionable
predicate, will not fire" (visible non-silent outcome).
public static AttackPredicate? Translate(NucleiHttpRequest http)
Parameters
httpNucleiHttpRequest
Returns
Translate(IReadOnlyList<NucleiMatcher>, string, NucleiMatcherSurface)
Build the predicate tree for a bare matcher list + its
composition condition — shared across transports (HTTP + the
Phase-2g dns pass, which reuses the same word / regex /
negative matcher shape over the resolved DNS answer).
public static AttackPredicate? Translate(IReadOnlyList<NucleiMatcher> matchers, string matchersCondition, NucleiMatcherSurface surface = NucleiMatcherSurface.Http)
Parameters
matchersIReadOnlyList<NucleiMatcher>matchersConditionstringsurfaceNucleiMatcherSurface