Class NucleiMatcher

Namespace
Kuestenlogik.Bowire.Security.Templates.Nuclei
Assembly
Kuestenlogik.Bowire.Security.Templates.Nuclei.dll

A single matcher rule — one of Nuclei's ~14 matcher types (status / word / regex / size / dsl / binary / …). Phase 2a supports the three most common: status, word, regex.

public sealed class NucleiMatcher
Inheritance
NucleiMatcher
Inherited Members

Constructors

NucleiMatcher()

public NucleiMatcher()

Properties

Condition

Within a single matcher, how its values compose: and = all must match, or = any matches. Default Nuclei convention is or.

public string Condition { get; set; }

Property Value

string

Negative

True flips the matcher's polarity — the predicate fires when the values DON'T match. Nuclei: negative: true.

public bool Negative { get; set; }

Property Value

bool

Part

Which part of the response the matcher inspects: body (default), header, all.

public string Part { get; set; }

Property Value

string

Regex

For regex matchers: list of regex patterns.

public List<string> Regex { get; init; }

Property Value

List<string>

Status

For status matchers: list of acceptable HTTP status codes. Empty for non-status types.

public List<int> Status { get; init; }

Property Value

List<int>

Type

Matcher kind: status, word, regex, …

public string Type { get; set; }

Property Value

string

Words

For word matchers: list of strings the response part must contain (or any-of, depending on Condition).

public List<string> Words { get; init; }

Property Value

List<string>