Documentation
¶
Index ¶
- Constants
- type HTTPPlugin
- func (p *HTTPPlugin) FingerprintResponse(resp *http.Response) ([]string, error)
- func (p *HTTPPlugin) Name() string
- func (p *HTTPPlugin) PortPriority(port uint16) bool
- func (p *HTTPPlugin) Priority() int
- func (p *HTTPPlugin) Run(conn net.Conn, timeout time.Duration, target plugins.Target) (*plugins.Service, error)
- func (p *HTTPPlugin) Type() plugins.Protocol
- type HTTPSPlugin
- func (p *HTTPSPlugin) FingerprintResponse(resp *http.Response) ([]string, error)
- func (p *HTTPSPlugin) Name() string
- func (p *HTTPSPlugin) PortPriority(port uint16) bool
- func (p *HTTPSPlugin) Priority() int
- func (p *HTTPSPlugin) Run(conn net.Conn, timeout time.Duration, target plugins.Target) (*plugins.Service, error)
- func (p *HTTPSPlugin) Type() plugins.Protocol
Constants ¶
View Source
const HTTP = "http"
View Source
const HTTPS = "https"
View Source
const USERAGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPPlugin ¶
type HTTPPlugin struct {
// contains filtered or unexported fields
}
func (*HTTPPlugin) FingerprintResponse ¶ added in v1.0.4
func (p *HTTPPlugin) FingerprintResponse(resp *http.Response) ([]string, error)
func (*HTTPPlugin) Name ¶
func (p *HTTPPlugin) Name() string
func (*HTTPPlugin) PortPriority ¶
func (p *HTTPPlugin) PortPriority(port uint16) bool
func (*HTTPPlugin) Priority ¶
func (p *HTTPPlugin) Priority() int
func (*HTTPPlugin) Type ¶
func (p *HTTPPlugin) Type() plugins.Protocol
type HTTPSPlugin ¶
type HTTPSPlugin struct {
// contains filtered or unexported fields
}
func (*HTTPSPlugin) FingerprintResponse ¶ added in v1.0.4
func (p *HTTPSPlugin) FingerprintResponse(resp *http.Response) ([]string, error)
func (*HTTPSPlugin) Name ¶
func (p *HTTPSPlugin) Name() string
func (*HTTPSPlugin) PortPriority ¶
func (p *HTTPSPlugin) PortPriority(port uint16) bool
func (*HTTPSPlugin) Priority ¶
func (p *HTTPSPlugin) Priority() int
func (*HTTPSPlugin) Type ¶
func (p *HTTPSPlugin) Type() plugins.Protocol
Click to show internal directories.
Click to hide internal directories.