scans

package
v0.0.0-...-c24ae90 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeepTLSTask

type DeepTLSTask interface {
	// Done return whether the task has collected every information and is finished
	Done(model *results.ServerModel) bool
	// SetCHValues modifies the Client Hello preset depending on the current state model. scanDoneRate is an indicator
	// how many requests we can still perform depending on the Client Hellos we still have chsLeft. If playSafe is true,
	// the method should only set values where we are sure the server will successfully respond.
	SetCHValues(preset *tls.ClientHelloPreset, model *results.ServerModel, scanDoneRate float64, playSafe bool, chsLeft int)
	// MergeData updates the model depending on the server response state or err
	MergeData(state tls.ConnectionState, model *results.ServerModel, preset *tls.ClientHelloPreset, err error) (errorCouldBeMe bool, learnedSomething bool)
	// ResolveError will only be called if this task was responsible for the error and the task should resolve it.
	ResolveError(model *results.ServerModel) (learnedSomething bool)
	// PostProcess will be called after the scan is done
	PostProcess(model *results.ServerModel)
}

type DissecTLSScan

type DissecTLSScan struct {
	// contains filtered or unexported fields
}

func (*DissecTLSScan) GetDefaultPort

func (s *DissecTLSScan) GetDefaultPort() int

func (*DissecTLSScan) Init

func (s *DissecTLSScan) Init(opts *misc.Options, keylogFile io.Writer)

func (*DissecTLSScan) Scan

func (s *DissecTLSScan) Scan(conn net.Conn, target *Target, result *results.ScanResult, timeout time.Duration, synStart time.Time, synEnd time.Time, limiter *rate.Limiter) (net.Conn, error)

type HTTPRequest

type HTTPRequest struct {
	// contains filtered or unexported fields
}

type HTTPScan

type HTTPScan struct {
	HTTPHeaders  []string
	HTTPRequests []HTTPRequest
	Verbose      bool
	// contains filtered or unexported fields
}

func (*HTTPScan) GetDefaultPort

func (s *HTTPScan) GetDefaultPort() int

func (*HTTPScan) Init

func (s *HTTPScan) Init(opts *misc.Options, keylogFile io.Writer)

func (*HTTPScan) Scan

func (s *HTTPScan) Scan(conn net.Conn, target *Target, result *results.ScanResult, timeout time.Duration, synStart time.Time, synEnd time.Time, limiter *rate.Limiter) (net.Conn, error)

type JARMScan

type JARMScan struct {
	Retries int
}

func (*JARMScan) GetDefaultPort

func (s *JARMScan) GetDefaultPort() int

func (*JARMScan) Init

func (s *JARMScan) Init(opts *misc.Options, keylogFile io.Writer)

func (*JARMScan) Scan

func (s *JARMScan) Scan(conn net.Conn, target *Target, result *results.ScanResult, timeout time.Duration, synStart time.Time, synEnd time.Time, limiter *rate.Limiter) (net.Conn, error)

type SCSVScan

type SCSVScan struct {
	// contains filtered or unexported fields
}

func (*SCSVScan) GetDefaultPort

func (s *SCSVScan) GetDefaultPort() int

func (*SCSVScan) Init

func (s *SCSVScan) Init(opts *misc.Options, keylogFile io.Writer)

func (*SCSVScan) Scan

func (s *SCSVScan) Scan(conn net.Conn, target *Target, result *results.ScanResult, timeout time.Duration, synStart time.Time, synEnd time.Time, limiter *rate.Limiter) (net.Conn, error)

ScanProtocol performs the actual TLS scan and adds results to the target

type SSHScan

type SSHScan struct {
}

func (*SSHScan) GetDefaultPort

func (s *SSHScan) GetDefaultPort() int

func (*SSHScan) Init

func (s *SSHScan) Init(opts *misc.Options, keylogFile io.Writer)

func (*SSHScan) Scan

func (s *SSHScan) Scan(conn net.Conn, target *Target, result *results.ScanResult, timeout time.Duration, synStart time.Time, synEnd time.Time, limiter *rate.Limiter) (net.Conn, error)

type TLSScan

type TLSScan struct {
	// contains filtered or unexported fields
}

func (*TLSScan) GetDefaultPort

func (s *TLSScan) GetDefaultPort() int

func (*TLSScan) Init

func (s *TLSScan) Init(opts *misc.Options, keylogFile io.Writer)

func (*TLSScan) Scan

func (s *TLSScan) Scan(conn net.Conn, target *Target, result *results.ScanResult, timeout time.Duration, synStart time.Time, synEnd time.Time, limiter *rate.Limiter) (net.Conn, error)

ScanProtocol performs the actual TLS scan and adds results to the target

type Target

type Target struct {
	Ip     string
	Domain string
	CHName string
}

func (Target) Address

func (st Target) Address(defaultPort int) string

func (Target) Input

func (st Target) Input() string

func (Target) Targets

func (st Target) Targets() []Target

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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