Skip to content

Commit

Permalink
[+]延长tcp层指纹识别时间,便于更准确的获取端口协议
Browse files Browse the repository at this point in the history
  • Loading branch information
lcvvvv committed Jan 2, 2022
1 parent fcb80a1 commit 2ac07ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run/type-kscan.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (k *kscan) PortDiscovery() {
func (k *kscan) GetTcpBanner() {
k.pool.tcpBanner.Function = func(i interface{}) interface{} {
netloc := i.(string)
r := gonmap.GetTcpBanner(netloc, gonmap.New(), k.config.Timeout*10)
r := gonmap.GetTcpBanner(netloc, gonmap.New(), k.config.Timeout*20)
return r
}

Expand Down

0 comments on commit 2ac07ca

Please sign in to comment.