Documentation ¶
Index ¶
- Constants
- func DecodeData(data []byte, headers http.Header) ([]byte, error)
- func DecodeKorean(s []byte) ([]byte, error)
- func Decodebig5(s []byte) ([]byte, error)
- func Decodegbk(s []byte) ([]byte, error)
- func Encodebig5(s []byte) ([]byte, error)
- func ExtractTitle(body []byte) (title string)
- func GetLocation(body []byte) (location string)
- func PortIdentify(network string, ip net.IP, _port uint16, dailTimeout time.Duration) (serviceName string, banner []byte, isDailErr bool)
- func ProbeHttpInfo(host string, _port uint16, dialTimeout time.Duration) (httpInfo *port.HttpInfo, banner []byte, isDailErr bool)
- func WebHttpInfo(url2 string, dialTimeout time.Duration) (httpInfo *port.HttpInfo, banner []byte, isDailErr bool)
- type Action
Constants ¶
View Source
const ( ActionRecv = Action(iota) ActionSend )
Variables ¶
This section is empty.
Functions ¶
func DecodeData ¶
ExtractTitle from a response
func DecodeKorean ¶
func GetLocation ¶
func PortIdentify ¶
func PortIdentify(network string, ip net.IP, _port uint16, dailTimeout time.Duration) (serviceName string, banner []byte, isDailErr bool)
PortIdentify 端口识别
func ProbeHttpInfo ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.