mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-22 03:10:42 +08:00
perf: 统一错误输出
This commit is contained in:
+1
-1
@@ -105,6 +105,6 @@ func doWithTimeOut(info *Common.HostInfo, user string, pass string) (flag bool,
|
||||
case <-signal:
|
||||
return flag, err
|
||||
case <-time.After(time.Duration(Common.Timeout) * time.Second):
|
||||
return false, errors.New("[!] SMB连接超时")
|
||||
return false, errors.New("[-] SMB连接超时")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user