mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-07-13 12:52:44 +08:00
Update SSH.go
This commit is contained in:
parent
035bf862a3
commit
39dabbfb9e
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user