Update SSH.go

This commit is contained in:
影舞者 2024-12-19 22:25:49 +08:00 committed by GitHub
parent 035bf862a3
commit 39dabbfb9e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,6 @@ func SshScan(info *Common.HostInfo) (tmperr error) {
if Common.IsBrute {
return
}
fmt.Println("[+] SSH扫描模块开始...")
// 增加全局扫描超时
scanCtx, scanCancel := context.WithTimeout(context.Background(), time.Duration(Common.Timeout*2)*time.Second)
@ -89,7 +88,6 @@ func SshScan(info *Common.HostInfo) (tmperr error) {
}
}
fmt.Println("[+] SSH扫描模块结束...")
return tmperr
}