formats

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

type Counter interface {
	Count(input string) (int64, error)
}

Counter is an optional interface for formats that can pre-count items.

type Format

type Format interface {
	// Name returns the name of the format
	Name() string
	// Parse parses the input and calls the provided callback
	// function for each RawRequest it discovers.
	Parse(input string, resultsCb ParseReqRespCallback) error
	// SetOptions sets the options for the input format
	SetOptions(options InputFormatOptions)
}

Format is an interface implemented by all input formats

type InputFormatOptions

type InputFormatOptions struct {
	// SkipFormatValidation is used to skip format validation
	// while debugging or testing if format is invalid then
	// requests are skipped instead of creating invalid requests
	SkipFormatValidation bool
	// RequiredOnly only uses required fields when generating requests
	// instead of all fields
	RequiredOnly bool
}

InputFormatOptions contains options for the input this can be variables that can be passed or overrides or some other options

type ParseReqRespCallback

type ParseReqRespCallback func(rr *httpmsg.HttpRequestResponse) bool

ParseReqRespCallback is a callback function for discovered raw requests

Directories

Path Synopsis
Package burpscope reads the target scope out of a Burp Suite project- or user-config JSON export and expands its include rules into concrete seed URLs.
Package burpscope reads the target scope out of a Burp Suite project- or user-config JSON export and expands its include rules into concrete seed URLs.
Package wsdl parses WSDL 1.1 / SOAP service descriptions into concrete SOAP requests, so a `.wsdl` file or a live `.svc`/`.asmx` endpoint can be fed to the scanner the same way an OpenAPI/Swagger spec is.
Package wsdl parses WSDL 1.1 / SOAP service descriptions into concrete SOAP requests, so a `.wsdl` file or a live `.svc`/`.asmx` endpoint can be fed to the scanner the same way an OpenAPI/Swagger spec is.

Jump to

Keyboard shortcuts

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