http

package
v0.0.0-...-4320b76 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2023 License: 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 {
	// contains filtered or unexported fields
}

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 {
	// contains filtered or unexported fields
}

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