Documentation ¶
Index ¶
Constants ¶
const ( SHELL_CMD = "/bin/sh" SHELL_ARG = "-c" )
Variables ¶
This section is empty.
Functions ¶
func NewInputProvider ¶
func NewInputProvider(conf *ffuf.Config) (ffuf.InputProvider, ffuf.Multierror)
Types ¶
type CommandInput ¶
type CommandInput struct {
// contains filtered or unexported fields
}
func NewCommandInput ¶
func (*CommandInput) IncrementPosition ¶
func (c *CommandInput) IncrementPosition()
IncrementPosition increments the current position in the inputprovider
func (*CommandInput) Keyword ¶
func (c *CommandInput) Keyword() string
Keyword returns the keyword assigned to this InternalInputProvider
func (*CommandInput) Next ¶
func (c *CommandInput) Next() bool
Next will increment the cursor position, and return a boolean telling if there's iterations left
func (*CommandInput) Position ¶
func (c *CommandInput) Position() int
Position will return the current position in the input list
func (*CommandInput) ResetPosition ¶
func (c *CommandInput) ResetPosition()
ResetPosition will reset the current position of the InternalInputProvider
func (*CommandInput) Value ¶
func (c *CommandInput) Value() []byte
Value returns the input from command stdoutput
type MainInputProvider ¶
type MainInputProvider struct { Providers []ffuf.InternalInputProvider Config *ffuf.Config // contains filtered or unexported fields }
func (*MainInputProvider) AddProvider ¶
func (i *MainInputProvider) AddProvider(provider ffuf.InputProviderConfig) error
func (*MainInputProvider) Next ¶
func (i *MainInputProvider) Next() bool
Next will increment the cursor position, and return a boolean telling if there's inputs left
func (*MainInputProvider) Position ¶
func (i *MainInputProvider) Position() int
Position will return the current position of progress
func (*MainInputProvider) Reset ¶
func (i *MainInputProvider) Reset()
Reset resets all the inputproviders and counters
func (*MainInputProvider) Total ¶
func (i *MainInputProvider) Total() int
Total returns the amount of input combinations available
func (*MainInputProvider) Value ¶
func (i *MainInputProvider) Value() map[string][]byte
Value returns a map of inputs for keywords
type WordlistInput ¶
type WordlistInput struct {
// contains filtered or unexported fields
}
func NewWordlistInput ¶
func (*WordlistInput) IncrementPosition ¶
func (w *WordlistInput) IncrementPosition()
IncrementPosition will increment the current position in the inputprovider data slice
func (*WordlistInput) Keyword ¶
func (w *WordlistInput) Keyword() string
Keyword returns the keyword assigned to this InternalInputProvider
func (*WordlistInput) Next ¶
func (w *WordlistInput) Next() bool
Next will increment the cursor position, and return a boolean telling if there's words left in the list
func (*WordlistInput) Position ¶
func (w *WordlistInput) Position() int
Position will return the current position in the input list
func (*WordlistInput) ResetPosition ¶
func (w *WordlistInput) ResetPosition()
ResetPosition resets the position back to beginning of the wordlist.
func (*WordlistInput) Total ¶
func (w *WordlistInput) Total() int
Total returns the size of wordlist
func (*WordlistInput) Value ¶
func (w *WordlistInput) Value() []byte
Value returns the value from wordlist at current cursor position