mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-26 05:01:53 +08:00
perf: 统一错误输出
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ type Brutelist struct {
|
||||
func RdpScan(info *Common.HostInfo) (tmperr error) {
|
||||
defer func() {
|
||||
if err := recover(); err != nil {
|
||||
fmt.Printf("[!] 扫描错误 %v:%v - %v\n", info.Host, info.Ports, err)
|
||||
fmt.Printf("[-] 扫描错误 %v:%v - %v\n", info.Host, info.Ports, err)
|
||||
}
|
||||
}()
|
||||
if Common.DisableBrute {
|
||||
|
||||
Reference in New Issue
Block a user