mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-24 12:11:52 +08:00
perf: 优化插件打印信息
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user