Documentation ¶
Index ¶
- Constants
- func NewOutputProviderByName(name string, conf *ffuf.Config) ffuf.OutputProvider
- type JsonResult
- type Stdoutput
- func (s *Stdoutput) Banner()
- func (s *Stdoutput) Cycle()
- func (s *Stdoutput) Error(errstring string)
- func (s *Stdoutput) Finalize() error
- func (s *Stdoutput) GetCurrentResults() []ffuf.Result
- func (s *Stdoutput) Info(infostring string)
- func (s *Stdoutput) PrintResult(res ffuf.Result)
- func (s *Stdoutput) Progress(status ffuf.Progress)
- func (s *Stdoutput) Raw(output string)
- func (s *Stdoutput) Reset()
- func (s *Stdoutput) Result(resp ffuf.Response)
- func (s *Stdoutput) SaveFile(filename, format string) error
- func (s *Stdoutput) SetCurrentResults(results []ffuf.Result)
- func (s *Stdoutput) Warning(warnstring string)
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 ( BANNER_HEADER = `` /* 283-byte string literal not displayed */ BANNER_SEP = "________________________________________________" )
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"` ContentType string `json:"content-type"` RedirectLocation string `json:"redirectlocation"` Duration time.Duration `json:"duration"` ResultFile string `json:"resultfile"` Url string `json:"url"` Host string `json:"host"` }
type Stdoutput ¶
type Stdoutput struct { Results []ffuf.Result CurrentResults []ffuf.Result // contains filtered or unexported fields }
func NewStdoutput ¶
func (*Stdoutput) Cycle ¶
func (s *Stdoutput) Cycle()
Cycle moves the CurrentResults to Results and resets the results slice
func (*Stdoutput) GetCurrentResults ¶
GetResults returns the result slice
func (*Stdoutput) PrintResult ¶
func (*Stdoutput) SetCurrentResults ¶
SetResults sets the result slice
Click to show internal directories.
Click to hide internal directories.