apidump

package
v0.37.3 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:          "apidump",
	Short:        "Capture requests/responses from network traffic.",
	Long:         "Capture and store a sequence of requests/responses to a service by observing network traffic.",
	SilenceUsage: true,
	Args:         cobra.ExactArgs(0),
	RunE:         apidumpRunWithoutAbnormalExit,
}

Functions

func ConvertCommonApiDumpFlagsToArgs added in v0.30.16

func ConvertCommonApiDumpFlagsToArgs(flags *CommonApidumpFlags) []string

Types

type CommonApidumpFlags added in v0.30.16

type CommonApidumpFlags struct {
	Filter              string
	HostAllowlist       []string
	HostExclusions      []string
	Interfaces          []string
	PathAllowlist       []string
	PathExclusions      []string
	RandomizedStart     int
	RateLimit           float64
	SendWitnessPayloads bool
	EnableReproMode     bool
}

func AddCommonApiDumpFlags added in v0.30.16

func AddCommonApiDumpFlags(cmd *cobra.Command) *CommonApidumpFlags

Jump to

Keyboard shortcuts

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