Versions in this module Expand all Collapse all v1 v1.0.8 Apr 12, 2024 v1.0.7 Mar 26, 2024 v1.0.6 Mar 18, 2024 v1.0.5 Mar 17, 2024 v1.0.4 Feb 29, 2024 v1.0.3 Jan 12, 2024 v1.0.2 Jan 5, 2024 v1.0.0 Jan 1, 2024 Changes in this version + const ProtoDHCP + const ProtoDNS + const ProtoEcho + const ProtoFTP + const ProtoHTTP + const ProtoHTTP2 + const ProtoHTTPS + const ProtoIMAP + const ProtoIMAPS + const ProtoIPMI + const ProtoIPSEC + const ProtoJDWP + const ProtoKafka + const ProtoLDAP + const ProtoLDAPS + const ProtoMQTT + const ProtoMSSQL + const ProtoModbus + const ProtoMySQL + const ProtoNTP + const ProtoNetbios + const ProtoOpenVPN + const ProtoOracle + const ProtoPOP3 + const ProtoPOP3S + const ProtoPostgreSQL + const ProtoRDP + const ProtoRPC + const ProtoRedis + const ProtoRsync + const ProtoRtsp + const ProtoSMB + const ProtoSMTP + const ProtoSMTPS + const ProtoSNMP + const ProtoSSH + const ProtoStun + const ProtoTelnet + const ProtoUnknown + const ProtoVNC + const TypeService + var Plugins = make(map[Protocol][]Plugin) + func RegisterPlugin(p Plugin) + type Metadata interface + Type func() string + type Plugin interface + Name func() string + PortPriority func(uint16) bool + Priority func() int + Run func(net.Conn, time.Duration, Target) (*Service, error) + Type func() Protocol + type PluginID struct + func CreatePluginID(p Plugin) PluginID + func (p PluginID) String() string + type Protocol uint64 + const IP + const TCP + const TCPTLS + const UDP + func (p Protocol) String() (s string) + type RPCB struct + Address string + Owner string + Program int + Protocol string + Version int + type Service struct + Host string + IP string + Port int + Protocol string + Raw json.RawMessage + TLS bool + Transport string + Version string + func CreateServiceFrom(target Target, m Metadata, tls bool, version string, transport Protocol) *Service + func (e Service) Metadata() Metadata + func (e Service) Type() string + type ServiceDHCP struct + Option string + func (e ServiceDHCP) Type() string + type ServiceDNS struct + func (e ServiceDNS) Type() string + type ServiceEcho struct + func (e ServiceEcho) Type() string + type ServiceFTP struct + AnonymousLogin bool + Banner string + func (e ServiceFTP) Type() string + type ServiceHTTP struct + ResponseHeaders http.Header + Status string + StatusCode int + Technologies []string + func (e ServiceHTTP) Type() string + type ServiceHTTPS struct + ResponseHeaders http.Header + Status string + StatusCode int + Technologies []string + func (e ServiceHTTPS) Type() string + type ServiceIMAP struct + Banner string + func (e ServiceIMAP) Type() string + type ServiceIMAPS struct + Banner string + func (e ServiceIMAPS) Type() string + type ServiceIPMI struct + func (e ServiceIPMI) Type() string + type ServiceIPSEC struct + MessageID string + ResponderISP string + func (e ServiceIPSEC) Type() string + type ServiceJDWP struct + Description string + JdwpMajor int32 + JdwpMinor int32 + VMName string + VMVersion string + func (e ServiceJDWP) Type() string + type ServiceKafka struct + func (e ServiceKafka) Type() string + type ServiceLDAP struct + func (e ServiceLDAP) Type() string + type ServiceLDAPS struct + func (e ServiceLDAPS) Type() string + type ServiceMQTT struct + func (e ServiceMQTT) Type() string + type ServiceMSSQL struct + func (e ServiceMSSQL) Type() string + type ServiceModbus struct + func (e ServiceModbus) Type() string + type ServiceMySQL struct + ErrorCode int + ErrorMessage string + PacketType string + func (e ServiceMySQL) Type() string + type ServiceNTP struct + func (e ServiceNTP) Type() string + type ServiceNetbios struct + NetBIOSName string + func (e ServiceNetbios) Type() string + type ServiceOpenVPN struct + func (e ServiceOpenVPN) Type() string + type ServiceOracle struct + Info string + func (e ServiceOracle) Type() string + type ServicePOP3 struct + Banner string + func (e ServicePOP3) Type() string + type ServicePOP3S struct + Banner string + func (e ServicePOP3S) Type() string + type ServicePostgreSQL struct + AuthRequired bool + func (e ServicePostgreSQL) Type() string + type ServiceRDP struct + DNSComputerName string + DNSDomainName string + ForestName string + NetBIOSComputerName string + NetBIOSDomainName string + OSFingerprint string + OSVersion string + TargetName string + func (e ServiceRDP) Type() string + type ServiceRPC struct + Entries []RPCB + func (e ServiceRPC) Type() string + type ServiceRedis struct + AuthRequired bool + func (e ServiceRedis) Type() string + type ServiceRsync struct + func (e ServiceRsync) Type() string + type ServiceRtsp struct + ServerInfo string + func (e ServiceRtsp) Type() string + type ServiceSMB struct + DNSComputerName string + DNSDomainName string + ForestName string + NetBIOSComputerName string + NetBIOSDomainName string + OSVersion string + SigningEnabled bool + SigningRequired bool + func (e ServiceSMB) Type() string + type ServiceSMTP struct + AuthMethods []string + Banner string + func (e ServiceSMTP) Type() string + type ServiceSMTPS struct + AuthMethods []string + Banner string + func (e ServiceSMTPS) Type() string + type ServiceSNMP struct + func (e ServiceSNMP) Type() string + type ServiceSSH struct + Algo string + Banner string + HostKey string + HostKeyFingerprint string + HostKeyType string + PasswordAuthEnabled bool + func (e ServiceSSH) Type() string + type ServiceStun struct + Info string + func (e ServiceStun) Type() string + type ServiceTelnet struct + ServerData string + func (e ServiceTelnet) Type() string + type ServiceUnknown map[string]any + func (e ServiceUnknown) Map() map[string]any + func (e ServiceUnknown) Type() string + type ServiceVNC struct + func (e ServiceVNC) Type() string + type Target struct + Address netip.AddrPort + Host string