structs

package
v0.0.0-...-b470b21 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ReflectionBody = "Body"
View Source
var ReflectionHeader = "Header"

Functions

This section is empty.

Types

type Config

type Config struct {
	Timeout          int
	Verbosity        int
	PrecedingLength  int
	SubsequentLength int
	LengthLimit      int

	Ratelimit float64

	Data          string
	ProxyCertPath string
	ProxyURL      string
	ReportPath    string
	UserAgent     string
	RawPath       string
	JSONLPath     string

	Cookies        []string
	Headers        []string
	Parameters     []string
	URLs           []string
	URLsReflection []string
	TestHeaders    []string
	Crawls         []Crawl

	UserAgentChrome bool
	EscapeJSON      bool
	CSTI            bool
	HTTP            bool
}

type Crawl

type Crawl struct {
	Request struct {
		Method   string            `json:"method"`
		Endpoint string            `json:"endpoint"`
		Body     string            `json:"body"`
		Headers  map[string]string `json:"headers"`
	} `json:"request"`
	Response struct {
		StatusCode   int      `json:"status_code"`
		Technologies []string `json:"technologies"`
	} `json:"response"`
}

type Engine

type Engine struct {
	Name            string
	Language        string
	Version         string
	Polyglots       map[string]string
	VerifyReflected string
	VerifyError     string
}

type Findings

type Findings struct {
	VeryHigh        int
	High            int
	Medium          int
	Low             int
	VeryLow         int
	TotalInjections int
	VulnerableURLs  int
}

type Reflection

type Reflection struct {
	ReflectionType string
	HeaderName     string `json:",omitempty"`
	ReflectionURL  string `json:",omitempty"`
	Preceding      string
	Subsequent     string
}

Jump to

Keyboard shortcuts

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