output

package
v1.1.1-0...-cd6c8f0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TERMINAL_CLEAR_LINE = "\r\x1b[2K"
	ANSI_CLEAR          = "\x1b[0m"
	ANSI_RED            = "\x1b[31m"
	ANSI_GREEN          = "\x1b[32m"
	ANSI_BLUE           = "\x1b[34m"
	ANSI_YELLOW         = "\x1b[33m"
)
View Source
const (

)

Variables

This section is empty.

Functions

func NewOutputProviderByName

func NewOutputProviderByName(name string, conf *ffuf.Config) ffuf.OutputProvider

Types

type JsonResult

type JsonResult struct {
	Input            map[string]string `json:"input"`
	Position         int               `json:"position"`
	StatusCode       int64             `json:"status"`
	ContentLength    int64             `json:"length"`
	ContentWords     int64             `json:"words"`
	ContentLines     int64             `json:"lines"`
	RedirectLocation string            `json:"redirectlocation"`
	ResultFile       string            `json:"resultfile"`
	Url              string            `json:"url"`
	Host             string            `json:"host"`
}

type Result

type Result struct {
	Input            map[string][]byte `json:"input"`
	Position         int               `json:"position"`
	StatusCode       int64             `json:"status"`
	ContentLength    int64             `json:"length"`
	ContentWords     int64             `json:"words"`
	ContentLines     int64             `json:"lines"`
	ContentLenStrip  int64             `json:"stripped"`
	RedirectLocation string            `json:"redirectlocation"`
	Url              string            `json:"url"`
	ResultFile       string            `json:"resultfile"`
	Host             string            `json:"host"`
	HTMLColor        string            `json:"-"`
}

type Stdoutput

type Stdoutput struct {
	Results []Result
	// contains filtered or unexported fields
}

func NewStdoutput

func NewStdoutput(conf *ffuf.Config) *Stdoutput

func (*Stdoutput) Banner

func (s *Stdoutput) Banner()

func (*Stdoutput) Error

func (s *Stdoutput) Error(errstring string)

func (*Stdoutput) Finalize

func (s *Stdoutput) Finalize() error

func (*Stdoutput) Info

func (s *Stdoutput) Info(infostring string)

func (*Stdoutput) Progress

func (s *Stdoutput) Progress(status ffuf.Progress)

func (*Stdoutput) Result

func (s *Stdoutput) Result(resp ffuf.Response)

func (*Stdoutput) SaveToUseLater

func (s *Stdoutput) SaveToUseLater(resp ffuf.Response)

func (*Stdoutput) Warning

func (s *Stdoutput) Warning(warnstring string)

Jump to

Keyboard shortcuts

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