perf: 优化插件打印信息

This commit is contained in:
ZacharyZcR
2024-12-19 15:13:38 +08:00
parent 6a84d0cf8a
commit dfc84e9813
20 changed files with 43 additions and 0 deletions
+2
View File
@@ -16,6 +16,7 @@ import (
var errNetBIOS = errors.New("netbios error")
func NetBIOS(info *Config.HostInfo) error {
fmt.Println("[+] NetBIOS扫描模块开始...")
netbios, _ := NetBIOS1(info)
output := netbios.String()
if len(output) > 0 {
@@ -23,6 +24,7 @@ func NetBIOS(info *Config.HostInfo) error {
Common.LogSuccess(result)
return nil
}
fmt.Println("[+] NetBIOS扫描模块结束...")
return errNetBIOS
}