http

package
v3.3.4 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SupportedFormats

func SupportedFormats() string

SupportedFormats returns the list of supported formats in comma-separated manner

Types

type HttpInputProvider

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

HttpInputProvider implements an input provider for nuclei that loads inputs from multiple formats like burp, openapi, postman,proxify, etc.

func NewHttpInputProvider

func NewHttpInputProvider(opts *HttpMultiFormatOptions) (*HttpInputProvider, error)

NewHttpInputProvider creates a new input provider for nuclei from a file

func (*HttpInputProvider) Close

func (i *HttpInputProvider) Close()

Close closes the input provider and cleans up any resources No-op for this provider

func (*HttpInputProvider) Count

func (i *HttpInputProvider) Count() int64

Count returns the number of items for input provider

func (*HttpInputProvider) InputType

func (i *HttpInputProvider) InputType() string

InputType returns the type of input provider

func (*HttpInputProvider) Iterate

func (i *HttpInputProvider) Iterate(callback func(value *contextargs.MetaInput) bool)

Iterate over all inputs in order

func (*HttpInputProvider) Set

func (i *HttpInputProvider) Set(value string)

Set adds item to input provider No-op for this provider

func (*HttpInputProvider) SetWithExclusions

func (i *HttpInputProvider) SetWithExclusions(value string) error

SetWithExclusions adds item to input provider if it doesn't match any of the exclusions No-op for this provider

func (*HttpInputProvider) SetWithProbe

func (i *HttpInputProvider) SetWithProbe(value string, probe types.InputLivenessProbe) error

SetWithProbe adds item to input provider with http probing No-op for this provider

type HttpMultiFormatOptions

type HttpMultiFormatOptions struct {
	// Options for the http input provider
	Options formats.InputFormatOptions
	// InputFile is the file containing the input
	InputFile string
	// InputMode is the mode of input
	InputMode string
}

HttpMultiFormatOptions contains options for the http input provider

Jump to

Keyboard shortcuts

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