httpfinger

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetURLPortString

func GetURLPortString(URL *url.URL) string

Types

type Banner struct {
	Protocol string
	Port     string
	Header   string
	Body     string
	Response string
	Cert     string
	Title    string
	Hash     string
	Icon     string
	ICP      string
}

func GetBannerWithResponse

func GetBannerWithResponse(URL *url.URL, response string, req *http.Request, cli *http.Client) (*Banner, error)

func GetBannerWithURL

func GetBannerWithURL(URL *url.URL, req *http.Request, cli *http.Client) (*Banner, error)

Jump to

Keyboard shortcuts

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