Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TopTcpPorts = []uint16{}/* 1002 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列表 Favicon string Fingers string // 识别到的web指纹 Cert string }
HttpInfo Http服务基础信息
type OpenIpPort ¶
OpenIpPort retChan
func (OpenIpPort) String ¶
func (op OpenIpPort) String() string
type ScannerOption ¶
type ScannerOption struct { Rate int // 每秒速度限制, 单位: s, 会在1s内平均发送, 相当于每个包之间的延迟 Timeout int // TCP连接响应延迟, 单位: ms }
ScannerOption 扫描器初始化参数
Click to show internal directories.
Click to hide internal directories.