Versions in this module Expand all Collapse all v1 v1.1.2 Apr 17, 2023 v1.1.1 Apr 17, 2023 Changes in this version + const MaxPendingReplies + const MaxProbeResponseTime + const Proxy + var GROUP_NAMES = map[string]string + var IPv4_Mask_Sizes = []uint32 + var IPv4_Masks = map[uint32]uint32 + var Match_IPv4 = regexp.MustCompile(...) + var Match_IPv6 = regexp.MustCompile(...) + var NetBIOS_ITEM_TYPE = map[string]string + var Scantype string + var UNIQUE_NAMES = map[string]string + func AddressesFromCIDR(cidr string, o chan<- string) + func CVE_2018_14847(ip string) []string + func CheckCVE_2021_26855(target string) string + func CheckDCom(host string) ([]string, error) + func CheckExchange(host *string) []string + func DoMS17010(ip string) + func GetExFQND(target string) string + func IPv4Range2CIDRs(s_ip string, e_ip string) ([]string, error) + func IPv4UIntRange2CIDRs(s_i uint32, e_i uint32) []string + func IPv4_to_UInt(ips string) (uint32, error) + func Info(target string) + func InitPaths() []string + func MS17010(ip string, timeout time.Duration) + func Negotiate() []byte + func NetBIOS(info *HostInfo) (string, error) + func Ntlminfo(targetUrl string) (fqdn string, domain string) + func Postxml(targetUrl string, fqdn string, xmlcontent string) string + func SmbGhostScan(szIp string) (bool, error) + func Socks5Dailer(forward *net.Dialer) (proxy.Dialer, error) + func TrimName(name string) string + func UInt_to_IPv4(ipi uint32) string + func Userenumerate(targetUrl string, fqdn string, xmlcontent string, userfile string, ...) + func Verify(targetUrl string) bool + func WrapperTCP(network, address string, forward *net.Dialer) (net.Conn, error) + func WrapperTcpWithTimeout(network, address string, timeout time.Duration) (net.Conn, error) + type HostInfo struct + Host string + Infostr []string + Ports string + Url string + type NbnsName struct + func GetNbnsname(info *HostInfo) (nbname NbnsName, err error) + func NetBIOS1(info *HostInfo) (nbname NbnsName, err error) + type NetbiosInfo struct + type NetbiosReplyAddress struct + Address [4]uint8 + Flag uint16 + type NetbiosReplyHeader struct + AdditionalCount uint16 + AnswerCount uint16 + AuthCount uint16 + Flags uint16 + QuestionCount uint16 + QuestionName [34]byte + RecordClass uint16 + RecordLength uint16 + RecordTTL uint32 + RecordType uint16 + XID uint16 + type NetbiosReplyName struct + Flag uint16 + Name [15]byte + Type uint8 + type NetbiosReplyStatus struct + Addresses []NetbiosReplyAddress + HWAddr string + Header NetbiosReplyHeader + HostName [15]byte + Names []NetbiosReplyName + UserName [15]byte + type Probe struct + func (this *Probe) AddTarget(t string) + func (this *Probe) CheckRateLimit() + func (this *Probe) CloseInput() + func (this *Probe) Initialize() + func (this *Probe) SetLimiter(limiter *rate.Limiter) + func (this *Probe) SetOutput(c_out chan<- ScanResult) + func (this *Probe) Setup() + func (this *Probe) String() string + func (this *Probe) Wait() + type ProbeNetbios struct + func (this *ProbeNetbios) CreateNameRequest(name string) []byte + func (this *ProbeNetbios) CreateStatusRequest() []byte + func (this *ProbeNetbios) DecodeNetbiosName(name [32]byte) [16]byte + func (this *ProbeNetbios) EncodeNetbiosName(name [16]byte) [32]byte + func (this *ProbeNetbios) Initialize() + func (this *ProbeNetbios) ParseReply(buff []byte) NetbiosReplyStatus + func (this *ProbeNetbios) ProcessReplies() + func (this *ProbeNetbios) ReportIncompleteResults() + func (this *ProbeNetbios) ReportResult(ip string) + func (this *ProbeNetbios) ResultFromIP(ip string) ScanResult + func (this *ProbeNetbios) SendNameRequest(ip string) + func (this *ProbeNetbios) SendRequest(ip string, req []byte) + func (this *ProbeNetbios) SendStatusRequest(ip string) + type Prober interface + AddTarget func(string) + CheckRateLimit func() + CloseInput func() + Initialize func() + SetLimiter func(*rate.Limiter) + SetOutput func(chan<- ScanResult) + Setup func() + Wait func() + type ScanResult struct + Host string + Info map[string]string + Name string + Nets []string + Port string + Probe string + Proto string