Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Finger ¶
type Finger struct { Name string `yaml:"name"` ForceRequest bool `yaml:"force-request"` Vul string `yaml:"vul"` Request []*RequestInfo `yaml:"request"` // contains filtered or unexported fields }
func (*Finger) FingerCheck ¶
func (f *Finger) FingerCheck(ctx context.Context, url string, opts ...FingerOPtions)
func (*Finger) GetVulName ¶
func (*Finger) Run ¶
func (f *Finger) Run(resp *lowhttp.LowhttpResponse)
type FingerConfig ¶
type FingerOPtions ¶
type FingerOPtions func(config *FingerConfig)
func WithDebug ¶
func WithDebug() FingerOPtions
func WithOnsuccessHook ¶
func WithOnsuccessHook(hook onSuccessHook) FingerOPtions
func WithProxy ¶
func WithProxy(proxy []string) FingerOPtions
func WithScan ¶
func WithScan() FingerOPtions
func WithTimeout ¶
func WithTimeout(timeout int) FingerOPtions
type RequestInfo ¶
type RequestInfo struct { Method string `yaml:"method"` Redirect bool `yaml:"redirect"` Path []string `yaml:"path"` Header map[string]string `yaml:"header"` Cookie map[string]string `yaml:"cookie"` MatchCondition *conditionUnmarshal `yaml:"match_condition"` Matchers []*matcher `yaml:"matchers"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.