http

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: AGPL-3.0, Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const HTTP = "http"
View Source
const HTTPS = "https"

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPPlugin

type HTTPPlugin struct {
}

func (*HTTPPlugin) FingerprintResponse

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) Run

func (p *HTTPPlugin) Run(conn net.Conn, timeout time.Duration, target plugins.Target) (*plugins.Service, error)

func (*HTTPPlugin) Type

func (p *HTTPPlugin) Type() plugins.Protocol

type HTTPSPlugin

type HTTPSPlugin struct {
}

func (*HTTPSPlugin) FingerprintResponse

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) Run

func (p *HTTPSPlugin) Run(
	conn net.Conn,
	timeout time.Duration,
	target plugins.Target,
) (*plugins.Service, error)

func (*HTTPSPlugin) Type

func (p *HTTPSPlugin) Type() plugins.Protocol

Jump to

Keyboard shortcuts

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