perf: 统一错误输出

This commit is contained in:
ZacharyZcR
2024-12-21 17:21:41 +08:00
parent 497bc2e86b
commit 33cb33b1ad
7 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -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 {