Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Banner ¶
type Banner struct { Uri string `json:"uri"` BodyHash int32 `json:"body_hash"` Body string `json:"body"` Header string `json:"header"` Headers map[string]string `json:"-"` Title string `json:"title"` StatusCode int `json:"status_code"` Response string `json:"_"` SSL bool `json:"ssl"` Certificate string `json:"certificate"` IconHash int32 `json:"icon_hash"` IconType string `json:"icon_type"` Charset string `json:"-"` Cert *tls.ConnectionState `json:"-"` IconURI string `json:"icon_uri"` IconBytes []byte `json:"-"` }
type Rule ¶
type Rule struct { Name string `json:"name,omitempty"` Service string `yaml:"service" json:"service,omitempty"` MatchersCondition string `yaml:"matchers-condition" json:"matchers_condition,omitempty"` // 组件太多 采用层级匹配 优化匹配速度 Require []string `json:"require,omitempty"` Matchers []*matchers.Matcher `json:"matchers,omitempty"` Plugins []*Plugin `yaml:"plugins"` Cpe map[string]interface{} `yaml:"cpe" json:"cpe,omitempty"` }
Click to show internal directories.
Click to hide internal directories.