Update NetBIOS.go

This commit is contained in:
影舞者 2024-12-19 22:32:11 +08:00 committed by GitHub
parent 8837f61197
commit 96798b6fa3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,6 @@ import (
var errNetBIOS = errors.New("netbios error") var errNetBIOS = errors.New("netbios error")
func NetBIOS(info *Common.HostInfo) error { func NetBIOS(info *Common.HostInfo) error {
fmt.Println("[+] NetBIOS扫描模块开始...")
netbios, _ := NetBIOS1(info) netbios, _ := NetBIOS1(info)
output := netbios.String() output := netbios.String()
if len(output) > 0 { if len(output) > 0 {
@ -23,7 +22,6 @@ func NetBIOS(info *Common.HostInfo) error {
Common.LogSuccess(result) Common.LogSuccess(result)
return nil return nil
} }
fmt.Println("[+] NetBIOS扫描模块结束...")
return errNetBIOS return errNetBIOS
} }