Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TopTcpPorts = []uint16{}/* 3552 elements not displayed */
TopTcpPorts 常见端口 ref https://github.com/robertdavidgraham/masscan/blob/master/src/main-conf.c
Functions ¶
func IsInPortRange ¶
IsInPortRange 判断port是否在端口范围里
func ParsePortRangeStr ¶
ParsePortRangeStr 解析端口字符串
func ShuffleParseAndMergeTopPorts ¶
ShuffleParseAndMergeTopPorts shuffle parse portStr and merge TopTcpPorts
Types ¶
type HttpInfo ¶
type HttpInfo struct { StatusCode int // 状态码 ContentLen int // 相应包大小 Url string // Url Location string // 302、301重定向路径 Title string // 标题 Server string // 服务名 TlsCN string // tls使用者名称 TlsDNS []string // tlsDNS列表 Fingers []string // 识别到的web指纹 }
HttpInfo Http服务基础信息
type OpenIpPort ¶
type OpenIpPort struct { Ip net.IP Port uint16 Service string Banner []byte HttpInfo *HttpInfo IpOption }
OpenIpPort retChan
func (OpenIpPort) String ¶
func (op OpenIpPort) String() string
Click to show internal directories.
Click to hide internal directories.