Class BowireOastEndpoints

Namespace
Kuestenlogik.Bowire.Oast.Server
Assembly
Kuestenlogik.Bowire.Oast.dll

The HTTP half of bowire oast serve (#35 Phase 2f): the register / poll / deregister API plus the catch-all that records HTTP callbacks.

public static class BowireOastEndpoints
Inheritance
BowireOastEndpoints
Inherited Members

Remarks

Wire-compatible with the interactsh protocol, so --oast-server can be pointed at this server or at any other instance without a client change — and so an existing deployment can be swapped for this one on the same DNS delegation.

Methods

MapBowireOast(IEndpointRouteBuilder, OastInteractionStore, string?, Action<string>?)

Map the OAST API + HTTP catcher.

public static IEndpointRouteBuilder MapBowireOast(this IEndpointRouteBuilder endpoints, OastInteractionStore store, string? token = null, Action<string>? log = null)

Parameters

endpoints IEndpointRouteBuilder

Route builder.

store OastInteractionStore

Session + interaction registry.

token string

When set, register calls must present it as Authorization. Gates an instance that would otherwise be an open callback catcher for anyone on the internet.

log Action<string>

Optional line sink for the console.

Returns

IEndpointRouteBuilder