output

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ColorEnabled = true

	Red    = "\x1b[31m"
	Green  = "\x1b[32m"
	Yellow = "\x1b[33m"
	Cyan   = "\x1b[36;1m"
	Bold   = "\x1b[1m"
	Reset  = "\x1b[0m"
)
View Source
var ShowRecommendedDetails = true

Functions

func DisableColors

func DisableColors()

func LogError

func LogError(format string, a ...interface{})

func ProduceCLI

func ProduceCLI(u string, resp *http.Response, doRec, doLeak, doDep bool)

func ProduceJSON

func ProduceJSON(u string, resp *http.Response, doRec, doLeak, doDep bool) []byte

Types

type LeakFinding

type LeakFinding struct {
	Header string `json:"header"`
	Value  string `json:"value"`
}

type RecFinding

type RecFinding struct {
	Header      string `json:"header"`
	Status      string `json:"status"`
	Observed    string `json:"observed,omitempty"`
	Recommended string `json:"recommended,omitempty"`
}

Jump to

Keyboard shortcuts

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