Class OastServeOptions
- Namespace
- Kuestenlogik.Bowire.Oast.Server
- Assembly
- Kuestenlogik.Bowire.Oast.dll
Options for bowire oast serve.
public sealed record OastServeOptions : IEquatable<OastServeOptions>
- Inheritance
-
OastServeOptions
- Implements
- Inherited Members
Constructors
OastServeOptions()
public OastServeOptions()
Properties
DnsPort
DNS catcher port. Default 53 — a real delegation cannot use another.
public int DnsPort { get; init; }
Property Value
Domain
The delegated zone this instance is authoritative for, e.g.
oast.example.com. Callback hosts are handed out beneath it.
public required string Domain { get; init; }
Property Value
HttpPort
HTTP catcher + API port. Default 80.
public int HttpPort { get; init; }
Property Value
ListenIp
Address to bind. Default all interfaces.
public string ListenIp { get; init; }
Property Value
PublicIp
The instance's public address — answered for A queries, so a target that resolves a callback host then connects lands on the HTTP catcher.
public required string PublicIp { get; init; }
Property Value
SessionIdleMinutes
Idle sessions are evicted after this long. Default 1h.
public int SessionIdleMinutes { get; init; }
Property Value
Token
When set, register calls must present it as Authorization.
Without it the instance is an open callback catcher for anyone who finds
it.
public string? Token { get; init; }
Property Value
Methods
Equals(OastServeOptions?)
public bool Equals(OastServeOptions? other)
Parameters
otherOastServeOptions
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(OastServeOptions?, OastServeOptions?)
public static bool operator ==(OastServeOptions? left, OastServeOptions? right)
Parameters
leftOastServeOptionsrightOastServeOptions
Returns
operator !=(OastServeOptions?, OastServeOptions?)
public static bool operator !=(OastServeOptions? left, OastServeOptions? right)
Parameters
leftOastServeOptionsrightOastServeOptions