Update SSH.go

This commit is contained in:
影舞者
2024-12-19 22:25:49 +08:00
committed by GitHub
parent 035bf862a3
commit 39dabbfb9e
-2
View File
@@ -15,7 +15,6 @@ func SshScan(info *Common.HostInfo) (tmperr error) {
if Common.IsBrute { if Common.IsBrute {
return return
} }
fmt.Println("[+] SSH扫描模块开始...")
// 增加全局扫描超时 // 增加全局扫描超时
scanCtx, scanCancel := context.WithTimeout(context.Background(), time.Duration(Common.Timeout*2)*time.Second) 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 return tmperr
} }