Documentation ¶
Overview ¶
Package hybrid implements a hybrid hmap/filekv backed input provider for nuclei that can either stream or store results using different kv stores.
Index ¶
Constants ¶
View Source
const DefaultMaxDedupeItemsCount = 10000
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Input ¶
Input is a hmap/filekv backed nuclei Input provider
func New ¶
New creates a new hmap backed nuclei Input Provider and initializes it based on the passed options Model.
func (*Input) Scan ¶
func (i *Input) Scan(callback func(value *contextargs.MetaInput) bool)
Scan iterates the input and each found item is passed to the callback consumer.
func (*Input) SetWithExclusions ¶ added in v3.1.0
SetWithExclusions normalizes and stores passed input values if not excluded
type Options ¶
type Options struct { // Options contains options for hmap provider Options *types.Options // NotFoundCallback is called for each not found target // This overrides error handling for not found target NotFoundCallback func(template string) bool }
Options is a wrapper around types.Options structure
Click to show internal directories.
Click to hide internal directories.