Documentation
¶
Index ¶
- Constants
- func FingerprintHTTP3(conf *ffuf.Config, detailed bool) (report ffuf.HTTP3Fingerprint, configErr error)
- func NewSimpleRunner(conf *ffuf.Config, replay bool) ffuf.RunnerProvider
- type SimpleRunner
- func (r *SimpleRunner) Close() error
- func (r *SimpleRunner) Dump(req *ffuf.Request) ([]byte, error)
- func (r *SimpleRunner) Execute(req *ffuf.Request) (ffuf.Response, error)
- func (r *SimpleRunner) ExecuteWithRunTelemetry(req *ffuf.Request, role ffuf.RunTransportAttemptRole, ...) (ffuf.Response, error)
- func (r *SimpleRunner) Initialize(baseReq *ffuf.Request) error
- func (r *SimpleRunner) Prepare(input map[string][]byte, basereq *ffuf.Request) (ffuf.Request, error)
- func (r *SimpleRunner) RunTelemetry() ffuf.RunTelemetry
- func (r *SimpleRunner) SubscribeCapacity(executionGeneration uint64) (ffuf.CapacitySubscription, error)
Constants ¶
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) 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) 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.