ldap

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const LDAP = "ldap"
View Source
const LDAPS = "ldaps"

Variables

This section is empty.

Functions

func DetectLDAP

func DetectLDAP(conn net.Conn, timeout time.Duration) (bool, error)

Types

type LDAPPlugin

type LDAPPlugin struct{}

func (*LDAPPlugin) Name

func (p *LDAPPlugin) Name() string

func (*LDAPPlugin) PortPriority

func (p *LDAPPlugin) PortPriority(i uint16) bool

func (*LDAPPlugin) Priority

func (p *LDAPPlugin) Priority() int

func (*LDAPPlugin) Run

func (p *LDAPPlugin) Run(
	conn net.Conn,
	config plugins.PluginConfig,
) (*plugins.PluginResults, error)

func (*LDAPPlugin) Type

func (p *LDAPPlugin) Type() plugins.Protocol

type TLSPlugin

type TLSPlugin struct{}

func (*TLSPlugin) Name

func (p *TLSPlugin) Name() string

func (*TLSPlugin) PortPriority

func (p *TLSPlugin) PortPriority(i uint16) bool

func (*TLSPlugin) Priority

func (p *TLSPlugin) Priority() int

func (*TLSPlugin) Run

func (p *TLSPlugin) Run(
	conn net.Conn,
	config plugins.PluginConfig,
) (*plugins.PluginResults, error)

func (*TLSPlugin) Type

func (p *TLSPlugin) Type() plugins.Protocol

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL