fingerprint

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ActionRecv = Action(iota)
	ActionSend
)

Variables

This section is empty.

Functions

func DecodeData added in v1.2.0

func DecodeData(data []byte, headers http.Header) ([]byte, error)

ExtractTitle from a response

func DecodeKorean added in v1.2.0

func DecodeKorean(s []byte) ([]byte, error)

func Decodebig5 added in v1.2.0

func Decodebig5(s []byte) ([]byte, error)

Decodebig5 converts BIG5 to UTF-8

func Decodegbk added in v1.2.0

func Decodegbk(s []byte) ([]byte, error)

Decodegbk converts GBK to UTF-8

func Encodebig5 added in v1.2.0

func Encodebig5(s []byte) ([]byte, error)

Encodebig5 converts UTF-8 to BIG5

func ExtractTitle added in v1.2.0

func ExtractTitle(body []byte) (title string)

ExtractTitle from a response

func GetLocation added in v1.2.0

func GetLocation(body []byte) (location string)

func PortIdentify

func PortIdentify(network string, ip net.IP, _port uint16, dailTimeout time.Duration) (serviceName string, banner []byte, isDailErr bool)

PortIdentify 端口识别

func ProbeHttpInfo added in v1.2.0

func ProbeHttpInfo(ip net.IP, _port uint16, dialTimeout time.Duration) (httpInfo *port.HttpInfo, banner []byte, isDailErr bool)

Types

type Action

type Action uint8

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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