mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-07-13 21:02: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 {
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user