runner

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2026 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const MAX_DOWNLOAD_SIZE = 5242880

Download results < 5MB

Variables

This section is empty.

Functions

func FingerprintHTTP3

func FingerprintHTTP3(conf *ffuf.Config, detailed bool) (report ffuf.HTTP3Fingerprint, configErr error)

FingerprintHTTP3 performs a direct QUIC probe. It intentionally does not trust Alt-Svc: a target is classified as supported only after negotiating ALPN h3, receiving the peer SETTINGS, and completing HTTP requests on the same connection. Network/handshake failures are capability results, while malformed local configuration is returned as an error.

func NewSimpleRunner

func NewSimpleRunner(conf *ffuf.Config, replay bool) ffuf.RunnerProvider

Types

type SimpleRunner

type SimpleRunner struct {
	// contains filtered or unexported fields
}

func (*SimpleRunner) Close

func (r *SimpleRunner) Close() error

func (*SimpleRunner) Dump

func (r *SimpleRunner) Dump(req *ffuf.Request) ([]byte, error)

func (*SimpleRunner) Execute

func (r *SimpleRunner) Execute(req *ffuf.Request) (ffuf.Response, error)

func (*SimpleRunner) ExecuteWithRunTelemetry

func (r *SimpleRunner) ExecuteWithRunTelemetry(req *ffuf.Request, role ffuf.RunTransportAttemptRole, recorder ffuf.RunTransportAttemptRecorder) (ffuf.Response, error)

ExecuteWithRunTelemetry instruments only the main workload transport attempts selected by the engine. Startup probes, warmup, qualification, preflights, and postflights continue through uninstrumented paths.

func (*SimpleRunner) Initialize

func (r *SimpleRunner) Initialize(baseReq *ffuf.Request) error

Initialize performs bounded protocol and response-shape probes before workers start. Keeping this out of NewSimpleRunner lets callers construct a runner for request dumping/history without causing network traffic.

func (*SimpleRunner) Prepare

func (r *SimpleRunner) Prepare(input map[string][]byte, basereq *ffuf.Request) (ffuf.Request, error)

func (*SimpleRunner) RunTelemetry

func (r *SimpleRunner) RunTelemetry() ffuf.RunTelemetry

RunTelemetry returns an atomic snapshot suitable for the post-drain report. It is intentionally not consulted by Execute, keeping telemetry reads out of the request hot path.

func (*SimpleRunner) SubscribeCapacity

func (r *SimpleRunner) SubscribeCapacity(executionGeneration uint64) (ffuf.CapacitySubscription, error)

SubscribeCapacity forwards the engine's narrow capacity subscription to the selected HTTP/3 pool. Non-HTTP/3 and replay runners remain fixed-capacity.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL