model

package
Version: v2.4.6 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: MIT Imports: 3 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   string `json:"poc"`
}

Issue is struct of issue

type MassJob

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:""`
	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"`
	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"`
}

Options is struct of options

type PoC

type PoC struct {
	Type   string
	Method string
	Data   string
}

PoC is PoC struct for Result

type Result

type Result struct {
	Logs      []string
	PoCs      []PoC
	Duration  time.Duration
	StartTime time.Time
	EndTime   time.Time
}

Result is struct for library and cli application

type Scan

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

Scan is struct of scan

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto