mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-07-14 05:12:36 +08:00
Update NetBIOS.go
This commit is contained in:
parent
8837f61197
commit
96798b6fa3
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user