model

package
Version: v2.6.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Issue

type Issue struct {
	Type  string `json:"type"`
	Param string `json:"param"`
	PoC   PoC    `json:"poc"`
}

Issue is struct of issue

type MassJob added in v2.3.3

type MassJob struct {
	Name string
	URLs []string
}

MassJob is list for mass

type Options

type Options struct {
	UniqParam         []string `json:"param"`
	Cookie            string   `json:"cookie"`
	Header            []string `json:"header"`
	ConfigFile        string   `json:"config"`
	BlindURL          string   `json:"blind"`
	CustomPayloadFile string   `json:"custom-payload-file"`
	CustomAlertValue  string   `json:"custom-alert-value"`
	CustomAlertType   string   `json:"custom-alert-type"`
	Data              string   `json:"data"`
	UserAgent         string   `json:"user-agent"`
	OutputFile        string   `json:"output"`
	Format            string   `json:"format"`
	FoundAction       string   `json:"found-action"`
	FoundActionShell  string   `json:"found-action-shell"`
	ProxyAddress      string   `json:"proxy"`
	Grep              string   `json:"grep"`
	IgnoreReturn      string   `json:"ignore-return"`
	Trigger           string   `json:"trigger"`
	Timeout           int      `json:"timeout"`
	Concurrence       int      `json:"worker"`
	Delay             int      `json:"delay"`
	AllURLS           int
	NowURL            int
	Sequence          int  `json:"sequence"`
	OnlyDiscovery     bool `json:"only-discovery"`
	OnlyCustomPayload bool `json:"only-custom-payload"`
	Silence           bool `json:"silence"`
	IsAPI             bool
	IsLibrary         bool
	Mass              bool `json:"mass"`
	MulticastMode     bool
	Scan              map[string]Scan
	FollowRedirect    bool   `json:"follow-redirects"`
	Mining            bool   `json:"mining-dict"`
	FindingDOM        bool   `json:"mining-dom"`
	MiningWordlist    string `json:"mining-dict-word"`
	NoColor           bool   `json:"no-color"`
	Method            string `json:"method"`
	TriggerMethod     string `json:"trigger-method"`
	NoSpinner         bool   `json:"no-spinner"`
	NoBAV             bool   `json:"no-bav"`
	ServerHost        string
	ServerPort        int
	NoGrep            bool `json:"skip-grepping"`
	Debug             bool `json:"debug"`
	CookieFromRaw     string
	ScanResult        Result
	SpinnerObject     *s.Spinner
	AuroraObject      a.Aurora
	StartTime         t.Time
	PathReflection    map[int]string
	RemotePayloads    string
	RemoteWordlists   string
	UseHeadless       bool   `json:"use-headless"`
	UseDeepDXSS       bool   `json:"use-deepdxss"`
	OnlyPoC           string `json:"only-poc"`
	OutputAll         bool   `json:"output-all"`
	WAF               bool
	WAFEvasion        bool
	PoCType           string `json:"poc-type"`
	Mutex             *sync.Mutex
}

Options is struct of options

type Param added in v2.5.0

type Param struct {
	Type    string
	Key     string
	Value   string
	Reflect bool
	SMap    string
}

type PoC added in v2.4.0

type PoC struct {
	Type       string `json:"type"`
	InjectType string `json:"inject_type"`
	PoCType    string `json:"poc_type"`
	Method     string `json:"method"`
	Data       string `json:"data"`
	Param      string `json:"param"`
	Payload    string `json:"payload"`
	Evidence   string `json:"evidence"`
	CWE        string `json:"cwe"`
}

PoC is PoC struct for Result

type Result added in v2.4.0

type Result struct {
	Logs      []string      `json:"logs"`
	PoCs      []PoC         `json:"pocs"`
	Duration  time.Duration `json:"duration"`
	StartTime time.Time     `json:"start_time"`
	EndTime   time.Time     `json:"end_time"`
}

Result is struct for library and cli application

type Scan

type Scan struct {
	URL     string
	ScanID  string
	Logs    []string
	Results []PoC
}

Scan is struct of scan

Jump to

Keyboard shortcuts

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